Node-Red configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ui_markdown.js 414B

1234567891011121314
  1. module.exports = function (RED) {
  2. function MarkdownNode (config) {
  3. const node = this
  4. RED.nodes.createNode(this, config)
  5. // which group are we rendering this widget
  6. const group = RED.nodes.getNode(config.group)
  7. // inform the dashboard UI that we are adding this node
  8. group.register(node, config)
  9. }
  10. RED.nodes.registerType('ui-markdown', MarkdownNode)
  11. }