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
Encountered when creating an autocomplete system for Quill. The key here is this line: editor.deleteText(editor.getLength() - 1, 0), which deletes nothing at the end of the state. If this line is commented out, the cutoff() line works as expected.
Encountered when creating an autocomplete system for Quill. The key here is this line:
editor.deleteText(editor.getLength() - 1, 0)
, which deletes nothing at the end of the state. If this line is commented out, the cutoff() line works as expected.Steps for Reproduction
Video reproduction:
Edit.fiddle.-.JSFiddle.-.Code.Playground.-.8.May.2024.mp4
Expected behavior: The typed text is preserved
Actual behavior: The typed text is deleted
Platforms: MacOS Sonoma 14.4.1, Chrome 123.0.6312.124 (arm64)
Version: 2.0.1
The text was updated successfully, but these errors were encountered: