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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Inplace editing in RTE?

Avatar

Level 3

How to enable inplace editing in RTE?

1 Accepted Solution

Avatar

Correct answer by
Level 9
0 Replies

Avatar

Level 9

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

 

Avatar

Community Advisor

 

hi @Manasi29 

Apart from the link shared by @sachinarora , 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

 

Avatar

Correct answer by
Level 9