9 Replies Latest reply on Aug 28, 2018 11:57 PM by Laubender

    getting the names of paragraph styles in selection

    RobertKyle Level 2

      Seems like this ought to work:








      (assuming, of course, that some text is selected, which I've already checked).


      But both snippets return "undefined." If I don't specify the name, I get an array of paragraph styles and so can loop through to extract the names. But I just wanted to check here first to see if I'm missing something obvious.