AEM 6.1 SP1 - RTE Inline Editor Listener- Touch UI | Community
Skip to main content
Level 9
June 15, 2016

AEM 6.1 SP1 - RTE Inline Editor Listener- Touch UI

  • June 15, 2016
  • 1 reply
  • 2114 views

Hey Guys,

The requirement is that i when the user is done editing the RTE in touch UI(inline Editing) , I would like to parse the contents stored in the "text" property and pick specific contents and store them as an array at the same text component node that gets created. So at the content structure i would like to have the "text" property and another property stored. I believe listeners would be a way to go if i attach listeners on Submit

Is there a way to actually attach listener to the inline editing of the RTE for the touch UI. On clicking the tick mark or the cancel i would like to attach listeners.  Online i see that there is an option to add listeners but only for when you hit the settings icon(that opens up a dialog) and not the pencil icon(inline editing.).

1. Can i attach listeners to the inplace editing option in touch UI, listeners such as before submit 

2. Can i have this listener triggered for this custom RTE component alone and not the rest of the components?  

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

1 reply

smacdonald2008
Level 10
June 15, 2016

Listeners in Touch UI is not that advanced yet. Hence why people use Listeners at the DOM level as discussed in this article: 

https://helpx.adobe.com/experience-manager/using/creating-touchui-events.html

Having said that  - there may be other ways to programmatically interact with the Granite RTE. I will look for you. 

Level 9
June 15, 2016

Thank you Scott, i will update if i find anything.

I believe 6.1 sp1 has text component under foundation/components/text, which has the capability to enter text when you hit the settings icon.. Inplace editing is also available

Incase of textimage i don't see text in a dialog when you click the settings icon, inline editing works tho and is the only option looks like to me,..Is this the case with 6.2? If this settings icon,had to work i could have picked the appraoch as in the article shared by you and attached listeners on submit.

https://helpx.adobe.com/experience-manager/using/creating-touchui-events.html

smacdonald2008
Level 10
June 15, 2016

I have asked a few Touch UI specialists too. I hope there is some good material that will help you.