mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Saving the node description property to the library
This commit is contained in:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user