Customising RTE special characters | Community
Skip to main content
santhoshm429343
October 26, 2018
Solved

Customising RTE special characters

  • October 26, 2018
  • 1 reply
  • 1066 views

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.

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

Here is the solution:-

1 reply

kautuk_sahni
Community Manager
kautuk_sahniCommunity ManagerAccepted solution
Community Manager
November 16, 2018

Here is the solution:-

Kautuk Sahni