Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Preventing Text Editor from replacement tags such as i with em

Codelime
Level 4
Level 4

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
asutosh_jena
Correct answer by
Community Advisor
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
asutosh_jena
Correct answer by
Community Advisor
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