Friday 6 December 2019

Tag i gets replaced with em tag | RTE


i tag is getting replaced with em tag in RTE in touch UI


This is not touch UI related it’s a default behavior of RTE in both touch UI and classic UI.
But we can handle it and fix it.

Fix:
In all _cq_dialog -> .content.xml files which contains RTE.
We add default HTML Rules to change i tag to em tag, so just update this mapping like i=”i” as shown below, so this will not update i tag.
If this needs to be fixed in classic UI dialog also, then do same change in classic ui dialog file.


No comments:

Post a Comment