I’ve been wondering if there’s a way to programmatically get the <text …> tag of a preset style from the new text tool Wolthera is working on in a plugin or script.
What I want to have, ideally, is some kind of dropdown where I can select one of the preset styles, and then programmatically create some editable text with the selected preset’s style by using the same <text …> tag the tool would usually create.