mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Add input/output to comment node
This commit is contained in:
parent
70e768f4d8
commit
f42f552267
@ -1,4 +1,4 @@
|
|||||||
|
<!-- 2021 Modification Copyright -->
|
||||||
<script type="text/html" data-template-name="comment">
|
<script type="text/html" data-template-name="comment">
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="common.label.name"></span></label>
|
<label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="common.label.name"></span></label>
|
||||||
@ -18,8 +18,8 @@
|
|||||||
name: {value:""},
|
name: {value:""},
|
||||||
info: {value:""}
|
info: {value:""}
|
||||||
},
|
},
|
||||||
inputs:0,
|
inputs:1,
|
||||||
outputs:0,
|
outputs:1,
|
||||||
icon: "comment.svg",
|
icon: "comment.svg",
|
||||||
label: function() {
|
label: function() {
|
||||||
return this.name||this._("comment.comment");
|
return this.name||this._("comment.comment");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user