Expand my Community achievements bar.

SOLVED

Preventing Text Editor from replacement tags such as i with em

Avatar

Level 5

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'}

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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-accessibl...

 

Hope this helps!

Thanks!

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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-accessibl...

 

Hope this helps!

Thanks!