Hi, I had a little play with the developer tools and figured out that a Typewriter mode in the markdown editor can be implemented by calling:
any time a size change or "Enter" is detected on this element:
var LastRow = document.querySelector(".CodeMirror-code .CodeMirror-line:last-child span");
The markdown editor is not a regular text area and I am not sure how to constantly monitor size changes or "Enter" presses on
LastRow which is a
span element. I tried
ResizeObserver with no luck.
Does anyone more versed Joplin's infrastructure have any suggestions how to proceed?