I am using quill as a text editor. Quill Editor
I need to get the data from the editor to send to server in a ajax call.
I am using getContent()
function but it is returning a delta object?
How do I get the data in the parsed form?
I am using quill as a text editor. Quill Editor
I need to get the data from the editor to send to server in a ajax call.
I am using getContent()
function but it is returning a delta object?
How do I get the data in the parsed form?
I use this to get the content
<div id="editor-container"></div>
let quill = new Quill('#editor-container');
let content = quill.editor.scroll.domNode.innerHTML;