mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-28 12:28:48 +01:00
This commit is contained in:
parent
789aed4aee
commit
78c3479fc3
1 changed files with 2 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ import {blockRender} from "../protyle/render/blockRender";
|
|||
import {fetchPost, fetchSyncPost} from "../util/fetch";
|
||||
import {openFileById} from "../editor/util";
|
||||
import {openMobileFileById} from "../mobile/editor";
|
||||
import {mathRender} from "../protyle/render/mathRender";
|
||||
|
||||
export const cancelSB = async (protyle: IProtyle, nodeElement: Element, range?: Range) => {
|
||||
const doOperations: IOperation[] = [];
|
||||
|
|
@ -73,6 +74,7 @@ export const cancelSB = async (protyle: IProtyle, nodeElement: Element, range?:
|
|||
});
|
||||
previousId = item.getAttribute("data-node-id");
|
||||
});
|
||||
mathRender(protyle.wysiwyg.element);
|
||||
// 超级块内嵌入块无面包屑,需重新渲染 https://github.com/siyuan-note/siyuan/issues/7574
|
||||
doOperations.forEach(item => {
|
||||
const element = protyle.wysiwyg.element.querySelector(`[data-node-id="${item.id}"]`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue