mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Ensure ace edit history is reset after initialisation
This commit is contained in:
@@ -86,9 +86,9 @@
|
||||
});
|
||||
this.editor = RED.editor.createEditor({
|
||||
id: 'node-input-info-editor',
|
||||
mode: 'ace/mode/markdown'
|
||||
mode: 'ace/mode/markdown',
|
||||
value: $("#node-input-info").val()
|
||||
});
|
||||
this.editor.setValue($("#node-input-info").val(),-1);
|
||||
this.editor.focus();
|
||||
},
|
||||
oneditsave: function() {
|
||||
|
Reference in New Issue
Block a user