React editor component for LMLs, like Markup or Asciidoc. The focus of the project is to provide fluent efficient interface for advanced users, who are familliar with using IDE or coding text editors.
Browser spellchecking usually does not work in similar editors. Mostly because it is not a single textarea or set of them, but input elements are dynamically generated. Current code is not in any input most of the time.
Application solutions seems to be the only way. Would rather use an existing editor extension, than implement it myself. I could not get to work any of those I found for CM nor Ace.
Current implementation I did for CM sucks. Does not use context menu and does not fully integrate to cm
When I select some text in the preview panel and hit Cmd+C to copy the selection, it does not copy it to the clipboard. However, when I open a context menu (right click) and click on “Copy” here, it does copy the selection to the clipboard. How’s that even possible…? 🙀
Links are rendered correctly as <a> tag, but its default action for left left click is blocked. User can open the link from browser’s context menu, but not by clicking or tapping on it.
It feels really weird to have a scrollable area without scrollbars. Even when you don’t use scrollbars for actual scrolling, they are useful as an indicator where you are in the document (position of the scrollbar) and how it is long (height of the scrollbar).