From 4477b9ac185be86bf4c7e439dc25b6a3e46883c7 Mon Sep 17 00:00:00 2001 From: Kazuhito Yokoi Date: Mon, 6 Feb 2023 00:53:22 +0900 Subject: [PATCH] Apply mermaid diagram for project settings UI --- .../editor-client/src/js/ui/projects/projectSettings.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/projects/projectSettings.js b/packages/node_modules/@node-red/editor-client/src/js/ui/projects/projectSettings.js index dd3191539..b8f1558a6 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/projects/projectSettings.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/projects/projectSettings.js @@ -165,6 +165,9 @@ RED.projects.settings = (function() { } var description = addTargetToExternalLinks($(''+desc+'')).appendTo(container); description.find(".red-ui-text-bidi-aware").contents().filter(function() { return this.nodeType === 3 && this.textContent.trim() !== "" }).wrap( "" ); + setTimeout(function () { + mermaid.init(); + }, 200); } function editSummary(activeProject, summary, container, version, versionContainer) {