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

Mention Plugin -- Being able to customize the max number of items in list after typing trigger character #10479

Closed
Spoonrad opened this issue Sep 6, 2021 · 0 comments · Fixed by #10515
Assignees
Labels
package:mention squad:features Issue to be handled by the Features team. type:improvement This issue reports a possible enhancement of an existing feature.

Comments

@Spoonrad
Copy link

Spoonrad commented Sep 6, 2021

📝 Provide a description of the improvement

Currently the Mention plugin limits the number of items in its list to 10.
This parameter is hardcoded. We would like to have a scrollable list with more than 10 items, possibly an infinite number of items and we are unable to edit this.
Thus we would like the number of items in the list to be a parameter that can be customized when using the plugin, in order to display 5, 10, 15 items... Ideally, the parameter would be able to take a null value and display an infinite number of items. The parameter can default to 10 for backwards compatibility.

📃 Other details

  • Browser: Chrome
  • OS: Windows 10 Pro
  • CKEditor version: 5
  • Installed CKEditor plugins: Mention

If you'd like to see this improvement implemented, add a 👍 reaction to this post.

@Spoonrad Spoonrad added the type:improvement This issue reports a possible enhancement of an existing feature. label Sep 6, 2021
@mlewand mlewand added squad:core Issue to be handled by the Core team. package:mention labels Sep 9, 2021
@mlewand mlewand added the squad:features Issue to be handled by the Features team. label Sep 9, 2021
@mlewand mlewand added this to the iteration 47 milestone Sep 9, 2021
@Reinmar Reinmar removed the squad:core Issue to be handled by the Core team. label Sep 13, 2021
@mlewand mlewand modified the milestones: iteration 47, iteration 48 Sep 23, 2021
mlewand added a commit that referenced this issue Sep 30, 2021
Feature (mention): Added a configuration option for customizing the maximum number of items in the list after typing the trigger character. Closes #10479.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:mention squad:features Issue to be handled by the Features team. type:improvement This issue reports a possible enhancement of an existing feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants