Apply mermaid diagram for project settings UI

pull/4054/head
Kazuhito Yokoi 2023-02-06 00:53:22 +09:00
parent 90d1bb0ae4
commit 4477b9ac18
1 changed files with 3 additions and 0 deletions

View File

@ -165,6 +165,9 @@ RED.projects.settings = (function() {
}
var description = addTargetToExternalLinks($('<span class="red-ui-text-bidi-aware" dir=\"'+RED.text.bidi.resolveBaseTextDir(desc)+'">'+desc+'</span>')).appendTo(container);
description.find(".red-ui-text-bidi-aware").contents().filter(function() { return this.nodeType === 3 && this.textContent.trim() !== "" }).wrap( "<span></span>" );
setTimeout(function () {
mermaid.init();
}, 200);
}
function editSummary(activeProject, summary, container, version, versionContainer) {