-
-
Notifications
You must be signed in to change notification settings - Fork 145
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
sync-plugin does not detect changes when mark changed. Based on what I see in code, I assume that the problem is in equalYTextPText
function, it compares attributes, but does not actually check mark types.
To Reproduce
- Type some text and mark it with
bold
- Change mark to
code
. I'm using tiptap, so I runtoggleCode
command that unsetsbold
mark and setscode
mark. - The change won't be applied to the ydoc/not sent to the server
Expected behavior
The plugin is to able to recognize mark change.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working