Node updates
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
class StringTextboxNode:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {
|
||||
"required": {
|
||||
"input_string": ("STRING", {
|
||||
"multiline": True,
|
||||
"default": "",
|
||||
"tooltip": "Enter text here"
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
RETURN_TYPES = ("STRING",)
|
||||
RETURN_NAMES = ("output_string",)
|
||||
FUNCTION = "pass_string"
|
||||
CATEGORY = "utils"
|
||||
|
||||
def pass_string(self, input_string):
|
||||
return (input_string,)
|
||||
Reference in New Issue
Block a user