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(() => {