Skip to main content
Question

Detach text style from textNode with API

  • November 1, 2024
  • 1 reply
  • 46 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('');