Inplace editing in RTE? | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

5 replies

Sachin_Arora_
Community Advisor
Community Advisor
July 4, 2022

Please refer how its done in Text Component : /apps/core/wcm/components/text , /apps/core/wcm/components/text/v2/text/cq:editConfig/cq:inplaceEditing

Also you can refer this blog : sgaemsolutions.com/2019/02/cqinplaceediting-in-cqeditconfig-node_7.html

 

sravs
Community Advisor
Community Advisor
July 4, 2022
Pallavi_Shukla_
Community Advisor
Community Advisor
July 4, 2022

 

hi @manasi29 

Apart from the link shared by @sachin_arora_ , below is some additional stuff : 

You  can define which HTML selector the text editor starts by configuring the following properties:

  • editElementQuery - Defined on cq:InplaceEditingConfig, this property is used to specify a selector of the HTML element on which the inline-editing for the Text Component will be started. If not specified, the inline-editing is directly started on the Text Component HTML.
  • textPropertyName - Defined on cq:InplaceEditingConfig, this property is used to specify the name of the property that will be saved on the content node where the HTML value of the text component will be persisted after inline-editing.

Thanks,

Pallavi Shukla

 

Jagadeesh_Prakash
Community Advisor
Jagadeesh_PrakashCommunity AdvisorAccepted solution
Community Advisor
July 4, 2022
vanegi
Adobe Employee
Adobe Employee
July 5, 2022