mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-13 07:56:14 +01:00
🚨
This commit is contained in:
parent
77c9cac3d4
commit
671667981d
12 changed files with 13 additions and 14 deletions
|
|
@ -36,7 +36,7 @@ export const flowchartRender = (element: Element, cdn = Constants.PROTYLE_CDN) =
|
|||
};
|
||||
|
||||
const initFlowchart = (flowchartElements: Element[]) => {
|
||||
const wysiswgElement = hasClosestByClassName(flowchartElements[0], "protyle-wysiwyg", true)
|
||||
const wysiswgElement = hasClosestByClassName(flowchartElements[0], "protyle-wysiwyg", true);
|
||||
flowchartElements.forEach((item: HTMLElement) => {
|
||||
if (item.getAttribute("data-render") === "true") {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue