quill
quill copied to clipboard
Unable to insert HTML with dangerouslyPasteHTML
Here is the sample HTML code that I want to insert using dangerouslyPasteHTML but editor showing undefined while adding HTML.
var selection = quill.getSelection(true); quill.clipboard.dangerouslyPasteHTML(selection.index, '<span class="mention" data-name="@Lakshya Singh" data-type="ticketing/agent" data-id="20"><span contenteditable="false" style="color:blue">@Lakshya Singh</span></span>');
Without the class, HTML is printed but with class, editor showing undefined
I have the same problem, please solve this error as soon as possible
I have the same problem
Quill 2.0 has been released (announcement post) with many changes and fixes. If this is still an issue please create a new issue after reviewing our updated Contributing guide :pray: