Skip to main content
Question

Detach text style from textNode with API

  • November 1, 2024
  • 1 reply
  • 30 views

Jonathan_Larson

Is there a way to detach a text style from a textNode through the Figma API?

This topic has been closed for replies.

1 reply

tank666
  • 4873 replies
  • November 2, 2024

To detach a style, pass an empty string as the method argument.

await textNode.setTextStyleIdAsync('');

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings