DontMash / shapez-vortex

https://shapez.soren.codes
MIT License
13 stars 0 forks source link

Add richtext-editor for blueprint description #38

Open DontMash opened 3 weeks ago

DontMash commented 3 weeks ago

Is your feature request related to a problem? Please describe. Since the blueprint description is a richtext, I also like to be able to add content accordingly.

Describe the solution you'd like A richtext-editor would be nice to easily create your own rich content.

Describe alternatives you've considered I also considered TinyMCE and Lexical, but settled on Quill since it is free, open-source, easy to style and integrate.

Additional context https://quilljs.com/docs https://www.tiny.cloud/ https://lexical.dev/ https://github.com/typewriter-editor/typewriter/blob/main/docs/guide.md#renderless-components

DontMash commented 3 weeks ago

Quill did not allow for the amount of custom styling I like to have (e.g. using predefined components). I've tried the other libraries as well, but every single one is designed for SPAs, which would require dynamic imports to work with sveltekit. Maybe I will try to implement the typewriter-editor that way later since the renderless mode seems pretty promising.