CharterMap / chartermap

GNU General Public License v3.0
0 stars 0 forks source link

What text editor to use #5

Open CharterMap opened 1 month ago

CharterMap commented 1 month ago

I don't want to have to build a text editor from scratch. My first explorations have been of TinyMCE, which seemed like a good option on the surface - an open-source, extensible WYSIWYG text editor for the browser. However, installation on the experimental branch ended up demonstrating more and more bloat and complexity before I could begin to create an extension (dependencies, libraries, megabytes upon megabytes of files) - that I think it's time to look for something more lightweight. After all, I wans to be able to create a GUI more or less from scratch for this tool, and have it be as slim and easy as possible to deploy on a university server not managed by me.

Some comparisons here: https://npm-compare.com/@tiptap/core,quill,slate

CharterMap commented 1 month ago

I am considering using Lexical as it supports extensions independent of frameworks or libraries, and vanilla JS implementation. I don't see the need to involve React (or another framework, many of which are requried by editors like tiptap, quill and slate) for this, it's a lot of additional bloat to introduce if the text editor is just going to be slotted into a Wordpress (or similar) website hosted on a university server.