Feature Request: Expose awareness state filter from y-prosemirror cursor plugin #4917
mathevs
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
There is no option of how to filter and not show the collaboration cursor of other users based on their state. You can hide the widget decoration created by the plugin with styles (by defining
render
andselectionRender
) but it is still created and added to the document.y-prosemirror already supports an awareness state filter, but it is not exposed. It can be easily exposed via the option of CollaborationCursor extension.
Use Case
You could hide the collaboration cursor of some users based on some conditions. For example not showing the collaboration cursor of admins to normal users.
Type
New Tiptap API
Beta Was this translation helpful? Give feedback.
All reactions