This commit is contained in:
Vanessa 2024-02-25 22:28:35 +08:00
parent 77c9cac3d4
commit 671667981d
12 changed files with 13 additions and 14 deletions

View file

@ -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;