Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: conditionally access ystate binding in cursor plugin #169

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

EricHasegawa
Copy link

While using y-prosemirror through a Tiptap React/NextJS project, I ran into an issue where the CollaborationCursor 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.

Screenshot 2024-10-24 at 3 41 09 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant