How to check that two textStyleRange have same formatting attributes
Hi All,
In the below sample text snippet I have used two variants of same font i.e normal and bold
"Hello World have A nice Day"
and when I called below API then returns 6 textStyleRange objects
var textStyleRanges = story.textStyleRanges;
but textStyleRangeObject at index 1,3,5 have same formatting attribute i.e bold
So how can I identify same using script code.?
Regards,
Alam