Skip to content

Mention element doesn't work as expected within custom blocks #2531

@HaGalstyan

Description

@HaGalstyan

What’s broken?

The trigger character @ is not opening the list of users if there's a space before it, it works only next to the text.. For example:

some text @ // won't work
some text@ // works

What did you expect to happen?

Just when the mention element is implemented, the mention element should always appear in the custom blocks when hitting @, regardless of the side conditions.

Steps to reproduce

No response

BlockNote version

v0.47.0

Environment

No response

Additional context

No response

Contribution

  • I'd be interested in contributing a fix for this issue

Sponsor

  • I'm a sponsor and would appreciate if you could look into this sooner than later 💖 (Representative of Krisp)

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageIssue has not yet been reviewed or classified by maintainers.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions