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?
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
I have asked a few Touch UI specialists too. I hope there is some good material that will help you.
Views
Replies
Total Likes
Thank you Scott. Please let me know.
Views
Replies
Total Likes
Views
Likes
Replies