Skip to content

[Bug]: mention extension matching suggestion text error #6245

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

Open
1 task done
mo1005 opened this issue Apr 7, 2025 · 0 comments
Open
1 task done

[Bug]: mention extension matching suggestion text error #6245

mo1005 opened this issue Apr 7, 2025 · 0 comments
Labels
Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug

Comments

@mo1005
Copy link

mo1005 commented Apr 7, 2025

Affected Packages

core, extension-mention, suggestion

Version(s)

2.11.7

Bug Description

When suggesting the use of mention extensions, It should be filtered out Lisa Bonet。 It should be matched through Le, not L。It should be matched by mentioning all the text inside the decoration, rather than just matching to the cursor location。
Image

Image Image

Browser Used

Chrome

Code Example URL

https://tiptap.dev/docs/editor/extensions/nodes/mention

Expected Behavior

When suggesting the use of mention extensions, It should be filtered out Lisa Bonet。 It should be matched through Le, not L。It should be matched by mentioning all the text inside the decoration, rather than just matching to the cursor location。

Additional Context (Optional)

No response

Dependency Updates

  • Yes, I've updated all my dependencies.
@mo1005 mo1005 added Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug labels Apr 7, 2025
@github-project-automation github-project-automation bot moved this to Needs Triage in Tiptap: Issues Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug
Projects
Status: Needs Triage
Development

No branches or pull requests

1 participant