• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Mixed Attributes (JS)

People's Champ ,
May 03, 2010 May 03, 2010

Copy link to clipboard

Copied

Hi,

How can I find out whether a paragraph contains mixed attributes? For example, different point size, or different character styles. In the UI, the field goes blank when this is the case (for example, selecting an entire paragraph containing several character styles results in a blank character style field in the UI).

Through scripting, is there a simple quick way to find out whether a paragraph contains mixed attributes?

Thanks,

Ariel

TOPICS
Scripting

Views

413

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , May 03, 2010 May 03, 2010

para.textStyleRanges.length

Harbs

Votes

Translate

Translate
LEGEND ,
May 03, 2010 May 03, 2010

Copy link to clipboard

Copied

para.textStyleRanges.length

Harbs

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
May 03, 2010 May 03, 2010

Copy link to clipboard

Copied

LATEST

Excellent. Thanks!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines