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

AEM 5.6 : RTE Customization : Semantic markup map is not working to map <b> to <strong>

chaitanya_pai1
Level 2
Level 2

 Hi,

We have a requirement to ensure that <b> are converted to <strong> and <i> are converted to <em> in RTE. I followed the instructions in the post : http://stackoverflow.com/questions/17946117/strong-tag-getting-replaced-to-b-tag-in-cq5  and added the nodes as specified. I added the property "b" with value "strong" and property "i" with value "em" to the semanticMarkupMap node. However, I still see <b> on bold text and <i> on Italicized text in RTE.  Has the functionality been changed in AEM 5.6? Is there any more information / documentation available on semanticMarkupMap anywhere? 

I tried adding property "strong" with value "b". After this, The bold text gets wrapped by <b> initially. but on opening source edit, <b> changes to <strong>, On disabling and enabling source edit, it changes back to <b>. It continues to  alternate between strong and b tags.

 

Thanks,

Chaitanya

1 Reply