Files
Bjornulf_custom_nodes/write_text.py
justumen 30b7f71bc3 0.31
2024-09-15 13:25:03 +02:00

17 lines
393 B
Python

class WriteText:
@classmethod
def INPUT_TYPES(s):
return {
"required": {
"text": ("STRING", {"multiline": True, "lines": 10}),
},
}
RETURN_TYPES = ("STRING",)
RETURN_NAMES = ("text",)
FUNCTION = "write_text"
OUTPUT_NODE = True
CATEGORY = "Bjornulf"
def write_text(self, text):
return (text,)