Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Fetch and modify content of editable in Javascript

acroabhi
Level 2
Level 2

Hi AEM Devs,

I am working on an extension for AEM where I need to modify the content of editables.

I can fetch list of editables using Granite API

var editablesArray = Granite.author.editables;

var editable = editablesArray[0];

Is there any API on editable which allows to fetch content of editable other than accessing the DOM? And also modify it?

Best,
Abhijeet

0 Replies