mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-06 15:41:48 +01:00
This commit is contained in:
parent
adc819973b
commit
706fe15077
1 changed files with 6 additions and 0 deletions
|
|
@ -403,6 +403,12 @@ const renderPDF = async (id: string) => {
|
|||
if (data.attrs.alias) {
|
||||
wysElement.setAttribute("alias", data.attrs.alias);
|
||||
}
|
||||
// https://github.com/siyuan-note/siyuan/issues/13669
|
||||
wysElement.querySelectorAll('[data-node-id]').forEach((item) => {
|
||||
if (item.querySelector(".img")) {
|
||||
item.innerHTML = item.innerHTML + "<hr style='margin:0;border:0'>"
|
||||
}
|
||||
})
|
||||
Protyle.mermaidRender(wysElement, "${servePath}/stage/protyle");
|
||||
Protyle.flowchartRender(wysElement, "${servePath}/stage/protyle");
|
||||
Protyle.graphvizRender(wysElement, "${servePath}/stage/protyle");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue