Add Markdown support to the Note node (#2044)

This commit is contained in:
gremlation
2024-12-27 02:16:00 +08:00
committed by GitHub
parent 66ada54587
commit 7990491c58
5 changed files with 863 additions and 2 deletions

View File

@@ -23,11 +23,11 @@ app.registerExtension({
if (!this.properties) {
this.properties = { text: '' }
}
ComfyWidgets.STRING(
ComfyWidgets.MARKDOWN(
// Should we extends LGraphNode? Yesss
this,
'',
['', { default: this.properties.text, multiline: true }],
['', { default: this.properties.text }],
app
)