Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

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