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

Preventing Text Editor from replacement tags such as i with em

Avatar

Avatar
Boost 25
Level 3
Codelime
Level 3

Likes

30 likes

Total Posts

40 posts

Correct Reply

0 solutions
Top badges earned
Boost 25
Applaud 5
Give Back 25
Validate 1
Ignite 1
View profile

Avatar
Boost 25
Level 3
Codelime
Level 3

Likes

30 likes

Total Posts

40 posts

Correct Reply

0 solutions
Top badges earned
Boost 25
Applaud 5
Give Back 25
Validate 1
Ignite 1
View profile
Codelime
Level 3

09-04-2021

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

373 likes

Total Posts

479 posts

Correct Reply

133 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile

Avatar
Affirm 100
Level 10
asutosh_jena
Level 10

Likes

373 likes

Total Posts

479 posts

Correct Reply

133 solutions
Top badges earned
Affirm 100
Ignite 1
Establish
Give Back 50
Give Back 5
View profile
asutosh_jena
Level 10

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

 

Hope this helps!

Thanks!

Answers (0)