mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-08-02 23:14:49 +08:00
Nodes now support single line string properties.
Resize nodes automatically if they are too small because of added properties.
This commit is contained in:
2
nodes.py
2
nodes.py
@@ -28,7 +28,7 @@ def filter_files_extensions(files, extensions):
|
||||
class CLIPTextEncode:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {"required": {"text": ("STRING", ), "clip": ("CLIP", )}}
|
||||
return {"required": {"text": ("STRING", {"multiline": True}), "clip": ("CLIP", )}}
|
||||
RETURN_TYPES = ("CONDITIONING",)
|
||||
FUNCTION = "encode"
|
||||
|
||||
|
Reference in New Issue
Block a user