diff --git a/command-parse.html b/command-parse.html index 1bb136f..7318e6f 100644 --- a/command-parse.html +++ b/command-parse.html @@ -264,9 +264,9 @@ -
- - +
+ +
@@ -285,6 +285,23 @@ outputs: 2, label: function() { return this.name || "parser entry point"; - } + }, + oneditprepare: function() { + var that = this; + this.editor = RED.editor.createEditor({ + id: 'node-input-help_text-editor', + value: $("#node-input-help_text").val() + }); + this.editor.focus(); + }, + oneditsave: function() { + $("#node-input-help_text").val(this.editor.getValue()); + this.editor.destroy(); + delete this.editor; + }, + oneditcancel: function() { + this.editor.destroy(); + delete this.editor; + }, });