AEM 6.5 text inline edit to use strong and em tags. | Community
Skip to main content
Level 2
October 12, 2020
Solved

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

  • October 12, 2020
  • 1 reply
  • 1651 views

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 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sandeep6

Hi @alvarof55440963 ,

 

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

 

Regards,

Sandeep.

1 reply

Sandeep6Accepted solution
Level 4
October 13, 2020

Hi @alvarof55440963 ,

 

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

 

Regards,

Sandeep.

Level 2
October 13, 2020
That did it. Thanks