While using y-prosemirror through a Tiptap React/NextJS project, I ran into an issue where theCollaborationCursor extension was clearing marks from my nodes; dug around in there and traced this back to some errors being thrown by cursor-plugin (screenshot below). Adding in a couple conditional accessors fixed this.
While using
y-prosemirror
through a Tiptap React/NextJS project, I ran into an issue where theCollaborationCursor
extension was clearing marks from my nodes; dug around in there and traced this back to some errors being thrown bycursor-plugin
(screenshot below). Adding in a couple conditional accessors fixed this.