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
Replace functionality with all content selected using document.execCommand('insertText', false, 'Hello.\nTest.') works incorrectly. This type of insertion is used by third-party developers to programmatically insert text into the editor.
Steps for Reproduction
Visit quilljs.com
Press Ctrl/Cmd+A to select all the editor content
Open developer tool
Use the next command: document.execCommand('insertText', false, 'Hello.\nTest.')
Expected behavior: is to see Hello. Test.
Actual behavior: the inserted text is cut ('Hello.')
Platforms: All
Version: 2.0.2
The text was updated successfully, but these errors were encountered:
Replace functionality with all content selected using
document.execCommand('insertText', false, 'Hello.\nTest.')
works incorrectly. This type of insertion is used by third-party developers to programmatically insert text into the editor.Steps for Reproduction
document.execCommand('insertText', false, 'Hello.\nTest.')
Expected behavior: is to see
Hello. Test
.Actual behavior: the inserted text is cut ('Hello.')
Platforms: All
Version: 2.0.2
The text was updated successfully, but these errors were encountered: