Saving the node description property to the library

This commit is contained in:
Kazuhito Yokoi
2020-03-02 05:50:32 +00:00
parent c9ad5bea93
commit 6675fdf3c2
3 changed files with 22 additions and 13 deletions

View File

@@ -71,12 +71,13 @@
});
RED.library.create({
url:"functions", // where to get the data from
type:"function", // the type of object the library is for
editor:this.editor, // the field name the main text body goes to
mode:"ace/mode/nrjavascript",
fields:['name','outputs'],
ext:"js"
url: "functions", // where to get the data from
type: "function", // the type of object the library is for
editor: this.editor, // the field name the main text body goes to
nodeInfoEditor: this.nodeInfoEditor,
mode: "ace/mode/nrjavascript",
fields: ['name', 'outputs', 'info'],
ext: "js"
});
this.editor.focus();