Add text output preview

This commit is contained in:
pythongosssss
2023-07-27 21:26:16 +01:00
parent a0d354fc31
commit aa26b24e99
2 changed files with 34 additions and 1 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ class StringFunction:
out = text_a.replace(text_b, text_c)
if tidy_tags:
out = out.replace(" ", " ").replace(" ,", ",").replace(",,", ",").replace(",,", ",")
return (out, )
return {"ui": {"text": (out,)}, "result": (out,)}
NODE_CLASS_MAPPINGS = {
"StringFunction|pysssss": StringFunction,