You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
quill.updateContents(new Delta()
.retain(6) // Keep 'Hello '
.delete(5) // 'World' is deleted
.insert('Quill')
.retain(1, { bold: true }) // Apply bold to exclamation mark
);
One can confirm this by searching the quill.js and finding no hits for "Delta" as its own word (yet "Quill" exists).
Seems somebody forgot to turn off minification for Delta class.
The text was updated successfully, but these errors were encountered:
"Delta" is unidentified when using quill from cdn,
you can even see so if you try in the quickstart interactive playground:
Thus making the documentation for "updateContents" impossible to follow:
One can confirm this by searching the quill.js and finding no hits for "Delta" as its own word (yet "Quill" exists).
Seems somebody forgot to turn off minification for Delta class.
The text was updated successfully, but these errors were encountered: