mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Apply mermaid diagram for project settings UI
This commit is contained in:
parent
90d1bb0ae4
commit
4477b9ac18
@ -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);
|
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>" );
|
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) {
|
function editSummary(activeProject, summary, container, version, versionContainer) {
|
||||||
|
Loading…
Reference in New Issue
Block a user