Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Customising RTE special characters

Avatar

Level 1

Hi Team,

I am currently required to create a special character '>' from RTE on click of which there has to be a code snippet added to RTE. For Instance,

Normal Way of Working : Clicking on '>' will give ==>           <p> Hello > Hi </p>

Required Way of Working : Clicking on '>' should give =>     <p> Hello  <span aria-hidden="class1"> > </span>

                                                                                                <span class="class2">Greeting</span> Hi ...</p> .

I tried writing using Jquery and I am able to target the click of special character from RTE but not able to embed the HTML snippet on click of it. This is required for the purpose of reading the character screen reader as per our requirement.  Quick help would be really appreciated.

1 Accepted Solution

Avatar

Correct answer by
Administrator

Here is the solution:-



Kautuk Sahni

View solution in original post

1 Reply

Avatar

Correct answer by
Administrator

Here is the solution:-



Kautuk Sahni