![]() With that said, I did think about making CodeWrite for mobile one day and so wanted my framework of choice to support it. Apart from that, it’s challenging to provide proper editing and coding experience on small, touch-only devices without a physical keyboard. Mobile support - as a desktop browser extension, CodeWrite wasn’t intended for mobile.The “good-to-have”s, as I called them, were those features that I knew I won’t use right-away but would be useful down the line. Good to haveĪpart from everything already listed, I did have even more requirements. Add syncing cursor between inner and outer editors to all this, and you’ve got a pretty complex setup on your hands. Also, you have to be able to edit the content within any of these instances, including operations like select, copy, paste, etc. They can’t be embedded through, as multiple separate Monaco Editor instances would bring any device to its knees. This meant that code snippets should be treated properly as well - with something like CodeMirror, or Monaco Editor - which, in turn, meant embedding an editor within an editor!Įditable embeds differ from traditional ones like s, as they’re much more interactive. ![]() To provide the best technical blogging experience, I wanted to have both the best writing and coding experience. Different structures work better or worse with tools like Grammarly.Īlthough one could argue that such issues should be solved on Grammarly’s side, they can’t possibly account for every possible contenteditable structure out there, and so a little help is necessary. That’s because of the differences in the handling of contenteditable elements. You know these browser extensions that provide you with AI grammar checking on every input, like, e.g., Grammarly? Those work really well in plain s but often struggle in complex, rich text editors. SpecificsĪpart from the basics, I had some additional requirements that were very specific to what I wanted CodeWrite to be. Of course, we also look for the quality of maintenance, community size, documentation, and ease-of-use of API. “Out-of-the-box” support for basic operations - history, undo, redo, copy, paste.Įxcept for deep customization and Markdown input rules, these are all functionalities that you should expect every modern framework to provide. ![]()
0 Comments
Leave a Reply. |