🎨 删除块,嵌入块中没有同步删除
This commit is contained in:
parent
9f1430a08a
commit
cc033c115d
1 changed files with 1 additions and 1 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Reference in a new issue