tiptap icon indicating copy to clipboard operation
tiptap copied to clipboard

[Bug]: When click to select text, it visually appears to clear the selection, but it actually does not.

Open lin52025iq opened this issue 1 year ago • 0 comments

Which packages did you experience the bug in?

core

What Tiptap version are you using?

latest

What’s the bug you are facing?

When the editor is in non-editable state, you select the text, and click on the selected text, the selected state on the page has been cleared, but clicking to set the text style can still successfully set the style for the previously selected text, which indicates that the selection on the editor has not been cleared.

https://github.com/ueberdosis/tiptap/assets/87741822/a76e17e2-c0c5-47cb-9a22-2d038ae23b92

What browser are you using?

Chrome

Code example

No response

What did you expect to happen?

When non-editable, after clicking on the text, the selection style of the text is cleared and the selection in the editor is also cleared. Nothing happens when trying to set a style.

Anything to add? (optional)

No response

Did you update your dependencies?

  • [X] Yes, I’ve updated my dependencies to use the latest version of all packages.

Are you sponsoring us?

  • [ ] Yes, I’m a sponsor. 💖

lin52025iq avatar Jan 31 '24 03:01 lin52025iq