Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
// found paragraph
var myPara = myFoundItems;
// count of paragraphs from the beginning of a story until the found paragraph
var myParaIndex = myFoundItems.parentStory.insertionPoints.itemByRange( 0, myPara.index ).paragraphs.length;
// paragraph after the found paragraph
var myNextPara = myFoundItems.parentStory.paragraphs[myParaIndex + 1];
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Find more inspiration, events, and resources on the new Adobe Community
Explore Now