How Quill works with data?
Well, Quill.js uses a special format called delta (or content) to store and manipulate the content of the editor.
More about Delta
Delta is a way of representing the content of a Quill.js rich text editor. It is a simple and flexible format that can store text, formatting, images, and other elements. You can use delta to save and load your editor content, or to manipulate it programmatically. For example, you can use delta to insert or delete text, change the font size or color, or add a link. Delta is compatible with bubble platform, which means you can store it in your database and use it later to display or edit your rich text content. Delta is also easy to convert to other formats, such as HTML or plain text, if you need to.
To save the value of the editor in the database, you can easily save it in text form using Content State.
Similarly, you can get the plain text by using text state