4 ms·
There are editors that handle images very well by default, like Quill or Trix. If you start diving deeper you’ll find out that image handling is just super com
by hanspagel 5y ago
There are editors that handle images very well by default, like Quill or Trix.
If you start diving deeper you’ll find out that image handling is just super complex and the behaviour is dependant on what you’re building. Then you’ll be happy to have full control about the behaviour with editors like Slate, ProseMirror or Tiptap.
- motives 5y agoThe customisability is definitely a plus, you can make slate fit in perfectly with almost any UI. Whilst you don't get complex image handling by default, I think their image handling example [0] is a really nice minimal implementation which is quite intuitive. [0] - https://www.slatejs.org/examples/images https://www.slatejs.org/examples/images
- TheRealNGenius 5y agoJust wanted to note to those thinking of using it: beware of Quill. I used it for my project, but it was not made for saving and then displaying the rich text. At least for me, it was a hassle figuring out how to accomplish this.
- HatchedLake721 5y agoI’ve started using quill recently (for users to write, save and then display). I’m just rendering the saved structure and disable the editor parts for “display”. I’m happy with it
- TheRealNGenius 5y agoThat is not how anyone would reasonably expect to be able to display rich text.