16 lines
538 B
Python
16 lines
538 B
Python
class MultilineStringNode:
|
|
@classmethod
|
|
def INPUT_TYPES(self):
|
|
return {
|
|
"required": {
|
|
"input_string": ("STRING", {"default": "", "multiline": True}),
|
|
}
|
|
}
|
|
RETURN_TYPES = ("STRING",)
|
|
RETURN_NAMES = ("Output",)
|
|
OUTPUT_TOOLTIPS = ("The multiline string",)
|
|
FUNCTION = "return_string"
|
|
CATEGORY = "text utility"
|
|
DESCRIPTION = "A node that allows for the entry of a multiline string."
|
|
def return_string(self, input_string):
|
|
return (input_string,) |