Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
fb61c75e
"doc/git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "aaae49584f7d336c80a714e067d870b2a6f69493"
Commit
fb61c75e
authored
Apr 15, 2023
by
jwd-dev
Browse files
default text property incase we need one.
parent
9587ea90
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
web/extensions/core/noteNode.js
web/extensions/core/noteNode.js
+2
-1
No files found.
web/extensions/core/noteNode.js
View file @
fb61c75e
...
@@ -12,9 +12,10 @@ app.registerExtension({
...
@@ -12,9 +12,10 @@ app.registerExtension({
constructor
()
{
constructor
()
{
if
(
!
this
.
properties
)
{
if
(
!
this
.
properties
)
{
this
.
properties
=
{};
this
.
properties
=
{};
this
.
properties
.
text
=
""
;
}
}
ComfyWidgets
.
STRING
(
this
,
""
,
[
""
,
{
multiline
:
true
}],
app
)
ComfyWidgets
.
STRING
(
this
,
""
,
[
""
,
{
default
:
this
.
properties
.
text
,
multiline
:
true
}],
app
)
// This node is purely frontend and does not impact the resulting prompt so should not be serialized
// This node is purely frontend and does not impact the resulting prompt so should not be serialized
this
.
isVirtualNode
=
true
;
this
.
isVirtualNode
=
true
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment