Proposal: (Doc) write about **the correct way** to store & display quill editor content
See original GitHub issue1. Why
so far(2018-8-26) Quill document didn’t say anything about what is the correct / suggest way to store and display content from quill editor
2. Base on my current understanding
There are 2 way to store and then display content when using quill editor to write content.
-
(Delta) Store Delta into database (MySQL/PostgreSQL as JSON). then, when Display, use some library convert Delta to HTML and then display
-
(HTML) Store HTML using
quill.root.innerHTML
into database (MySQL/PostgreSQL) and then just Display these HTML
3. Question
Would you guys write about this topic (store&display) in document?
Thanks!
(I am still researching, If I find any new info helpful for this. I would update this issue)
4. info relate to this topic
https://www.bountysource.com/issues/37978100-render-quill-delta-without-instantiating-an-editor https://github.com/quilljs/quill/issues/993 https://github.com/quilljs/quill/issues/1551
Issue Analytics
- State:
- Created 5 years ago
- Reactions:14
- Comments:13 (6 by maintainers)
It’s really frustrating to invest a lot of time in understanding Quill, expecting there will be instructions along the way about rendering its content, only to learn that this project is bring-your-own-renderer. It’d be great to mention that at the beginning.
Adding a huge screenshot for each post is unneeded. Please use text only. There are Delta sections in docs and guide. Please submit a PR to the docs with your suggested changes if you think it can be improved.