mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-02 06:48:49 +01:00
This commit is contained in:
parent
949a57d42e
commit
f9f88e8920
1 changed files with 3 additions and 0 deletions
|
|
@ -212,6 +212,7 @@ export const input = async (protyle: IProtyle, blockElement: HTMLElement, range:
|
|||
}
|
||||
});
|
||||
}
|
||||
html = "";
|
||||
Array.from(tempElement.content.children).forEach((item, index) => {
|
||||
const tempId = item.getAttribute("data-node-id");
|
||||
let realElement;
|
||||
|
|
@ -271,6 +272,8 @@ export const input = async (protyle: IProtyle, blockElement: HTMLElement, range:
|
|||
}
|
||||
}
|
||||
}
|
||||
// https://github.com/siyuan-note/siyuan/issues/14766
|
||||
html += realElement.outerHTML;
|
||||
});
|
||||
} else if (blockElement.getAttribute("data-type") === "NodeCodeBlock") {
|
||||
editElement.parentElement.removeAttribute("data-render");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue