Open vjeux opened 1 week ago
Hi @vjeux thanks for the feature request! The team has been thinking on ways to improve the API to select children nodes and properties (and make it consistent across the different methods) so hopefully we'll have a good solution for this soon. Will keep you posted!
Awesome, thanks for the update! Happy to help review any API and give feedback.
We have a text in a nested figma tree
Selector > .Input Message > Text message
.figma.textContent('Text message')
does not find it. But if we moveText message
at the root, then it works.We were able to solve the issue selecting an instance by moving from
.instance()
, which is not recursive to using.children()
which is. But there doesn't seem to be a recursive version of.textContent()
Error message doesn't work when nested
Error message works when not nested