mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user