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

Make text watcher in mention plugin recognize more complex patterns #16312

Open
Dumluregn opened this issue May 6, 2024 · 0 comments
Open

Make text watcher in mention plugin recognize more complex patterns #16312

Dumluregn opened this issue May 6, 2024 · 0 comments
Labels
package:mention type:feature This issue reports a feature request (an idea for a new functionality or a missing option).

Comments

@Dumluregn
Copy link
Contributor

📝 Provide detailed reproduction steps (if any)

  1. Disable the marker validation (https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-mention/src/mentionui.ts#L171-L185).
  2. Set the feed with one of the patterns: AAA, ABA, ABAC (e.g. {{{ ).
  3. Try inserting the mention with the configured pattern.

✔️ Expected result

Mentions dropdown is visible.

❌ Actual result

Text watcher created in the mentions plugin doesn't recognize the pattern.

❓ Possible solution

I'm reporting it as a feature request because I don't know if that's a problem in the text watcher itself or it's because the mention feature accepts only a single-character markers by design.

📃 Other details

  • Browser: …
  • OS: …
  • First affected CKEditor version: …
  • Installed CKEditor plugins: …

If you'd like to see this fixed sooner, add a 👍 reaction to this post.

@Dumluregn Dumluregn added type:feature This issue reports a feature request (an idea for a new functionality or a missing option). package:mention labels May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:mention type:feature This issue reports a feature request (an idea for a new functionality or a missing option).
Projects
None yet
Development

No branches or pull requests

1 participant