Skip to main content
Jonathan_Larson
November 1, 2024
Question

Detach text style from textNode with API

  • November 1, 2024
  • 1 reply
  • 85 views

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
November 2, 2024

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

await textNode.setTextStyleIdAsync('');
UX/UI designer. Figma expert. Creator and developer of plugins and widgets for Figma and FigJam. Check out my resources in Figma Community: figma.com/@tank