🐛 潜入块
This commit is contained in:
parent
4347d12af0
commit
a3822931d6
1 changed files with 5 additions and 0 deletions
|
@ -461,6 +461,11 @@ export const onTransaction = (protyle: IProtyle, operation: IOperation, isUndo:
|
|||
updateBlock(updateElements, protyle, operation, isUndo);
|
||||
}
|
||||
});
|
||||
} else { // updateElements 没有包含潜入块,在悬浮层编辑潜入块时,潜入块也需要更新
|
||||
// 更新 ws 嵌入块
|
||||
updateEmbed(protyle, operation);
|
||||
// 更新 ws 引用块
|
||||
updateRef(protyle, operation.id);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue