From 58be8ce395405ab55b2ae6be31d96b0167dc64e4 Mon Sep 17 00:00:00 2001 From: Pontus Lundin Date: Mon, 12 Feb 2024 14:22:40 +0100 Subject: [PATCH] return invokation of command --- packages/suggestion/src/suggestion.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/suggestion/src/suggestion.ts b/packages/suggestion/src/suggestion.ts index 2823b910216..bb6fdb868a3 100644 --- a/packages/suggestion/src/suggestion.ts +++ b/packages/suggestion/src/suggestion.ts @@ -99,7 +99,7 @@ export function Suggestion({ text: state.text, items: [], command: commandProps => { - command({ + return command({ editor, range: state.range, props: commandProps,