Skip to content

Get boundary of each style applied to text #99

@AlexGanzer

Description

@AlexGanzer

Hello.

Thanks for this great tool.

I'm trying to parse a text layer and generate HTML. But I can`t find - how to get position styles in text?
For example
I have text:

[Test 1] [Test 2]

Test 1 has a green color
Test 2 has a red color

How can I get a boundary of each color?

For example:
For green color
Start 0 position in text
End 6 position in text

For red color
Start 8 position in text
End 13 position in text
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions