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

AEM 6.5 text inline edit to use strong and em tags.

alvarof55440963
Level 2
Level 2

Hello folks, hope you are doing well. 

 

I'm trying to change the <i> and <b> to use the <em> and <strong> tags respectively on a text component that I have on my project. The resource super type of the component is set to 

resourceSuperType="core/wcm/components/text/v2/text"

I have modified the dialog to include the rtePlugins and htmlRules nodes as well as the node:

<semanticMarkupMap
jcr:primaryType="nt:unstructured"
b="strong"
i="em"/>

 inside htmlRules. There are several posts indicating this is the right approach. The problem is that the em and strong tags are only showing when I open the component dialog and not when I use the pencil icon for inline editing. Is it possible to enable such functionality? 

 

Thanks 

accessibility AEM dialog em Richtext RTE staging uiSettings
1 Accepted Solution
Sandeep6
Correct answer by
Level 5
Level 5

Hi @alvarof55440963 ,

 

Please modify the same in cq:editConfig/cq:inplaceEditing node of that component. Then it will appear in inline editing.

 

Regards,

Sandeep.

View solution in original post

2 Replies
Sandeep6
Correct answer by
Level 5
Level 5

Hi @alvarof55440963 ,

 

Please modify the same in cq:editConfig/cq:inplaceEditing node of that component. Then it will appear in inline editing.

 

Regards,

Sandeep.

View solution in original post