JSON export - how to get the "Text Style Ranges" to work?« Back to Questions List

"Using ${p} tag will include style ranges for text layers in your JSON or XML output."

does not seem to work. Could you please explain in detail?

Asked by harry8888
Added July 28, 2016 1:44 am

This question has been resolved, view the correct answer now!

Hi,

Also note, ${p} tag only works when you have multiple text styles in a single element.

Answer by admin
Answered On July 28, 2016 2:20 am #
Correct Answer

Hi,

We can verify this works correctly. Layer tags only work with Exports panel and not Layers panel.

Download the psd template: //exportkit.com/learn/psd-templates/advanced-layer-tags-psd-templates/ek126_512_paragraph to test ${p} tag. When you export to JSON you will see the ranges in your element.

Answer by admin
Answered On July 28, 2016 1:52 am #
Looking for another answer? View other questions in Text Output or get premium support for guaranteed results.
Asked by harry8888
1143 views
2 answers
Last Answered 5 years ago by admin

Categories

Recent Answers

asked by Msoft
asked by Fadi Umar
asked by Mihaa_
asked by Fahad Malik
[+] View All Recent Questions

Share Your Knowledge!

Contribute to the community and help other users to benefit from your answer with experience and knowledge.