mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-29 21:08:49 +01:00
This commit is contained in:
parent
58038ae90d
commit
e8b315573a
1 changed files with 6 additions and 0 deletions
|
|
@ -122,6 +122,9 @@ const promiseTransaction = () => {
|
|||
item.remove();
|
||||
}
|
||||
});
|
||||
if (protyle.disabled) {
|
||||
disabledProtyle(protyle);
|
||||
}
|
||||
processRender(protyle.wysiwyg.element);
|
||||
highlightRender(protyle.wysiwyg.element);
|
||||
avRender(protyle.wysiwyg.element, protyle);
|
||||
|
|
@ -402,6 +405,9 @@ export const onTransaction = (protyle: IProtyle, operation: IOperation, isUndo:
|
|||
}
|
||||
});
|
||||
if (operation.retData) {
|
||||
if (protyle.disabled) {
|
||||
disabledProtyle(protyle);
|
||||
}
|
||||
processRender(protyle.wysiwyg.element);
|
||||
highlightRender(protyle.wysiwyg.element);
|
||||
avRender(protyle.wysiwyg.element, protyle);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue