diff --git a/src/editor/block/commands.js b/src/editor/block/commands.js index f67ccbe..0126356 100644 --- a/src/editor/block/commands.js +++ b/src/editor/block/commands.js @@ -360,6 +360,7 @@ export const deleteBlock = (editor) => ({state, dispatch}) => { selection: EditorSelection.cursor(newSelection), annotations: [heynoteEvent.of(DELETE_BLOCK)], })) + return true } export const deleteBlockSetCursorPreviousBlock = (editor) => ({state, dispatch}) => { @@ -380,4 +381,5 @@ export const deleteBlockSetCursorPreviousBlock = (editor) => ({state, dispatch}) selection: EditorSelection.cursor(newSelection), annotations: [heynoteEvent.of(DELETE_BLOCK)], })) + return true }