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
1509 views
2 answers
Last Answered 8 years ago by admin

Categories

Recent Answers

asked by admin
asked by anup-sarkar
asked by originalife07
asked by yudhis
[+] View All Recent Questions

Share Your Knowledge!

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