do a rich text editor related project, using the Quill editor, and then found that the content with picture and text uploaded to the server, returned to me in the data, is the tag plus image base64.
then put it in state and display it on the page, but only the text and the picture are gone. I printed the data sent from the database and the data stored in state
. data from the database
state
so it is truncated. Is there a limit to the length of state storage? How to cancel?
the strange thing is that when the editor stores the value in state and uploads it, why is there a limit on length when initializing the assignment now?
by the way, who can tell me where I can find a rich text editor! I want it! This kind of markdown editor is so cool! I wonder how the rich text editor sends stored data, html tags?
or save markdown? Then when the page is displayed, does markdown change to html?