We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ba74b6 commit 8d4fb2dCopy full SHA for 8d4fb2d
packages/core/src/shared/plugins/suggestion/SuggestionPlugin.ts
@@ -346,6 +346,10 @@ export const setupSuggestionsMenu = <
346
347
// Selects an item and closes the menu.
348
if (event.key === "Enter") {
349
+ if (items.length === 0) {
350
+ return true;
351
+ }
352
+
353
deactivate(view);
354
editor._tiptapEditor
355
.chain()
0 commit comments