Hey Figma community. Im trying to get the textStyleIds from a text.node that has the value (Figma.mixed) to map them with different textStyleIds. If the textbox has only a single textStyleId it returns a string and im able to map that to a new textStyleId (string as well).
From documentation i figured it should be done with getRangeTextStyleId. For whatever reason i dont get it to work. Can anyone help me or provie code so i can get the different textStyleIds from a selected text.node so im able the map them to new values? Thanks in advance!