Merge pull request #5501 from node-red/5497-config-tooltip-text

Ensure config sidebar tooltip handles html content
pull/5502/head
Nick O'Leary 2026-02-25 16:39:06 +00:00 committed by GitHub
commit 5e83d1056e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ RED.sidebar.config = (function() {
nodeDiv.addClass("red-ui-palette-node-config-invalid");
RED.popover.tooltip(nodeDivAnnotations, function () {
if (node.validationErrors && node.validationErrors.length > 0) {
return RED._("editor.errors.invalidProperties") + "<br> - " + node.validationErrors.join("<br> - ");
return $('<span>' + RED._("editor.errors.invalidProperties") + "<br> - " + node.validationErrors.join("<br> - ") + '</span>');
}
})
}