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

Added selectKeys option for choosing select action keyCodes #167

Merged
merged 2 commits into from
Mar 4, 2021

Conversation

peregraum
Copy link
Contributor

Hi there,
I was using this plugin for one of my projects and came across the need of using another key for selecting a specific element in the mention dropdown.

I added a new option for the module called selectKeys, which is an array that holds the keyCodes for the desired keys that trigger the select action.
The default value for this value is [Keys.ENTER] as it is right now.

I've also updated the README to reflect this change.

@MadSpindel MadSpindel merged commit 9a1b628 into quill-mention:master Mar 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants