Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Fetch and modify content of editable in Javascript

Avatar

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