mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-03 11:20:16 +01:00
This commit is contained in:
parent
6892ebf164
commit
aa4eb5ba9e
2 changed files with 5 additions and 5 deletions
|
|
@ -323,7 +323,7 @@ const renderPDF = async (id: string) => {
|
|||
item.parentElement.style.width = Math.min(item.parentElement.clientWidth, width) + "px";
|
||||
item.removeAttribute('data-render');
|
||||
})
|
||||
Protyle.highlightRender(previewElement, "${servePath}/stage/protyle");
|
||||
Protyle.highlightRender(previewElement, "${servePath}/stage/protyle", document.querySelector("#scale").value);
|
||||
previewElement.querySelectorAll('[data-type="NodeMathBlock"]').forEach((item) => {
|
||||
// 超级块内不能移除 width https://github.com/siyuan-note/siyuan/issues/14318
|
||||
item.removeAttribute('data-render');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue