From 74eb6c103b7e6915f8bfc990a916fb6ecb3effbf Mon Sep 17 00:00:00 2001 From: Miu Razvan Date: Fri, 12 Jul 2024 11:23:44 +0300 Subject: [PATCH] update --- src/DescriptionBlock/Edit.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DescriptionBlock/Edit.jsx b/src/DescriptionBlock/Edit.jsx index c1cd281..2c738c2 100644 --- a/src/DescriptionBlock/Edit.jsx +++ b/src/DescriptionBlock/Edit.jsx @@ -37,7 +37,7 @@ export const DescriptionBlockEdit = (props) => { onSelectBlock(onAddBlock(config.settings.defaultBlockType, index + 1)); return; } - handleKey(editor, event); + handleKey({ editor, event }); }; useEffect(() => {