mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 删除块,嵌入块中没有同步删除
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user