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

feat: Asynchronous slash menu item fetching #506

Closed
wants to merge 7 commits into from

Conversation

matthewlipski
Copy link
Collaborator

This PR refactors the suggestion plugin to support fetching items asynchronously. To do this, some of the existing responsibility of the suggestion plugin has to be move. Specifically, the keyboard handling is moved to the slash menu component and item filtering is moved to the function provided in the slashMenuItems option.

I think we can move the plugin state to the plugin view like it is in the table handles plugin, though this is still TODO.

Closes #488

Copy link

vercel bot commented Jan 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
blocknote ✅ Ready (Inspect) Visit Preview Jan 15, 2024 2:24pm
blocknote-website ✅ Ready (Inspect) Visit Preview Jan 15, 2024 2:24pm

@YousefED
Copy link
Collaborator

YousefED commented Mar 5, 2024 via email

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.

Custom search function for the slash menu
2 participants