Preventing Text Editor from replacement tags such as i with em | Community
Skip to main content
Level 4
April 9, 2021
Solved

Preventing Text Editor from replacement tags such as i with em

  • April 9, 2021
  • 1 reply
  • 631 views

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.
Best answer by Asutosh_Jena_

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_
Community Advisor
Asutosh_Jena_Community AdvisorAccepted solution
Community Advisor
April 9, 2021

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!