When using Novel + Collab, if two people are editing the same document, one person selects a bunch of text and opens the AI rewrite modal. If the other person edits the doc, or select something, the selection highlight for the first person disappears.
Link to reproduction
WIP
To reproduce
Add a TiptapProvider or HocusPocusProvider to use Collaboration with Novel
Open the editor in two windows
Add a bunch of text
Window 1: highlight bunch of text -> Ask AI -> Stay on the modal
Window 2: type/select something, does not have to be the same text as Window 1
Expected Behavior: On Window 1, text remains selected + highlighted
Actual Behavior: On Window 1, selected text highlight disappears on the UI, however the extension works as if the text is still selected
Provide environment information
Describe the bug
When using Novel + Collab, if two people are editing the same document, one person selects a bunch of text and opens the AI rewrite modal. If the other person edits the doc, or select something, the selection highlight for the first person disappears.
Link to reproduction
WIP
To reproduce
Expected Behavior: On Window 1, text remains selected + highlighted Actual Behavior: On Window 1, selected text highlight disappears on the UI, however the extension works as if the text is still selected
Additional information
No response