Remember context sidebar tree state when refreshing

Closes #5008
This commit is contained in:
Nick O'Leary
2025-01-21 13:56:44 +00:00
parent 479b7e756d
commit 13cac1b5ef
3 changed files with 79 additions and 50 deletions

View File

@@ -511,9 +511,10 @@ RED.debug = (function() {
typeHint: format,
hideKey: false,
path: path,
sourceId: sourceNode&&sourceNode.id,
sourceId: sourceNode && sourceNode.id,
rootPath: path,
nodeSelector: config.messageSourceClick,
enablePinning: true
});
// Do this in a separate step so the element functions aren't stripped
debugMessage.appendTo(el);