Fetch and modify content of editable in Javascript | Community
Skip to main content
abhinarvekar
Level 2
December 5, 2019
Question

Fetch and modify content of editable in Javascript

  • December 5, 2019
  • 0 replies
  • 636 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.