quill icon indicating copy to clipboard operation
quill copied to clipboard

Continuous deletion results in an error and the last word cannot be deleted

Open Hsugar opened this issue 4 years ago • 2 comments
trafficstars

Thank you very much for helping me check the questions as soon as possible!

Steps for Reproduction

  1. 'pastehtml' for initialization
  2. "Props" of rendering subcomponents
  3. Continuous deletion results in an error and the last word cannot be deleted : Failed to execute 'setStart' on 'Range': The offset 4294967294 is larger than the node's length (2).

Expected behavior: Delete successfully without error

Actual behavior: error

Platforms: pc

Include browser, operating system and respective versions

Version:

"quill": "^1.3.7", "@types/quill": "^2.0.6",

image

Hsugar avatar May 06 '21 09:05 Hsugar

+1

wuliupo avatar Mar 27 '22 01:03 wuliupo

+1

sawaca96 avatar Apr 01 '22 06:04 sawaca96

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:

quill-bot avatar Apr 17 '24 11:04 quill-bot