mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Add RED.plugins module to editor
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
<script type="text/javascript">
|
||||
console.log("Loaded test-plugin/test-editor-plugin")
|
||||
// RED.plugins.registerPlugin("")
|
||||
//
|
||||
RED.plugins.registerPlugin("my-test-editor-only-plugin", {
|
||||
type: "bar",
|
||||
onadd: function() {
|
||||
console.log("my-test-editor-only-plugin.onadd called")
|
||||
}
|
||||
})
|
||||
</script>
|
Reference in New Issue
Block a user