Preventing Text Editor from replacement tags such as i with em | Community
Skip to main content
Level 4
Apr 9, 2021 12:38 PM UTC
Solved

Preventing Text Editor from replacement tags such as i with em

How can I configure the Text Editor so that it doesn't replace tags such as <i> with <em>? I tried changing the following in the /components/overlays/text/text.html file and then deploying using Maven in Eclipse, but it didn't work: 

Before
${text.text @ context='html'}

After

${text.text @ context='unsafe'}

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Asutosh_Jena_
Asutosh_Jena_Accepted solution
New Participant
Apr 9, 2021 12:57 PM UTC

Hi @codelime 

You will need to convert these tags into the corresponding semantic tags in RTE.

Please use the below article which has detailed steps to make it work:

http://www.sgaemsolutions.com/2019/10/accessibility-in-aem-bold-vs-strong-and.html

https://experienceleague.adobe.com/docs/experience-manager-65/administering/operations/rte-accessible-content.html?lang=en

 

Hope this helps!

Thanks!

1 reply

Asutosh_Jena_
Asutosh_Jena_Accepted solution
New Participant
Apr 9, 2021 12:57 PM UTC

Hi @codelime 

You will need to convert these tags into the corresponding semantic tags in RTE.

Please use the below article which has detailed steps to make it work:

http://www.sgaemsolutions.com/2019/10/accessibility-in-aem-bold-vs-strong-and.html

https://experienceleague.adobe.com/docs/experience-manager-65/administering/operations/rte-accessible-content.html?lang=en

 

Hope this helps!

Thanks!

Translate