diff --git a/app/src/protyle/wysiwyg/transaction.ts b/app/src/protyle/wysiwyg/transaction.ts index dfa850752..b779d25f1 100644 --- a/app/src/protyle/wysiwyg/transaction.ts +++ b/app/src/protyle/wysiwyg/transaction.ts @@ -418,7 +418,7 @@ export const onTransaction = (protyle: IProtyle, operation: IOperation, isUndo: return; } if (operation.action === "delete") { - if (updateElements.length > 0) { + if (updateElements.length > 0 || !isUndo) { deleteBlock(updateElements, operation.id, protyle, isUndo); } else if (isUndo) { zoomOut({