mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-02 23:08:49 +01:00
This commit is contained in:
parent
a93baaf00a
commit
73efbe9737
1 changed files with 1 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ export const blockRender = (protyle: IProtyle, element: Element, top?: number) =
|
|||
}
|
||||
// 需置于请求返回前,否则快速滚动会导致重复加载 https://ld246.com/article/1666857862494?r=88250
|
||||
item.setAttribute("data-render", "true");
|
||||
item.querySelector(".protyle-wysiwyg__embed")?.remove();
|
||||
genRenderFrame(item);
|
||||
item.style.height = (item.clientHeight - 4) + "px"; // 减少抖动 https://ld246.com/article/1668669380171
|
||||
const content = Lute.UnEscapeHTMLStr(item.getAttribute("data-content"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue