Skip to content

Allow customization of awareness field keys (user and cursor) #1958

Description

@ysds

Is your feature request related to a problem? Please describe.
I'm developing a canvas application and trying to add BlockNote nodes to it. However, my application already uses the user and cursor awareness fields, which conflicts with BlockNote's built-in awareness fields.

Describe the solution you'd like
I would like to have configuration options to customize the awareness field keys for user and cursor in BlockNote. This would allow developers to specify custom field names (e.g., bnUser, bnCursor) to avoid conflicts with existing awareness implementations in their applications.

Describe alternatives you've considered
Restructuring my application's awareness system to use field names that don't conflict with BlockNote's built-in fields (would require refactoring of existing code)

Additional context
y-prosemirror - cursor-plugin (cursorStateField)

Bonus
[ ] I'm a sponsor and would appreciate if you could look into this sooner than later 💖

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions