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
If creating a custom blot inheriting from Block and setting:
Unexpected result
node.setAttribute('contenteditable', 'false');
Quill correctly prevents the user from editing the text in that block.
However, if the block is followed immediately by a block that can be edited, and the user puts the cursor before the first character of that block and presses delete, the editable block is merged with the contenteditable === false block.
This makes the contents of both original blocks impossible to edit.
Expected result
Blocks with contenteditable set to false should not be merged with other blocks as a result of user editing actions.
The text was updated successfully, but these errors were encountered:
If creating a custom blot inheriting from Block and setting:
Unexpected result
node.setAttribute('contenteditable', 'false');
Quill correctly prevents the user from editing the text in that block.
However, if the block is followed immediately by a block that can be edited, and the user puts the cursor before the first character of that block and presses delete, the editable block is merged with the contenteditable === false block.
This makes the contents of both original blocks impossible to edit.
Expected result
Blocks with contenteditable set to false should not be merged with other blocks as a result of user editing actions.
The text was updated successfully, but these errors were encountered: