Dynamically Alter Text of Current Node #1076
-
I'm trying to create a node that if anything is entered it wraps the text in [square brackets] but if its left blank than it does not. How would I go about doing this? Here is my latest try:
This doesn't work, however. When the snippet is expanded it gives: \sqrt[nil]{} |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I think that's a good usecase for jump-events (don't have a link at hand, but searching for events in DOC.md should yield some results). |
Beta Was this translation helpful? Give feedback.
Ah, yeah using a functionNode makes much more sense 🤦
Also true, good usecase for
nonempty
👍