Unable to edit the custom dependent editable input field for RTE. | Community
Skip to main content
Level 2
Oct 6, 2021 8:59 AM UTC
Solved

Unable to edit the custom dependent editable input field for RTE.

Created a new RTE plugin and added the dependent Input field to it, when tried to edit the field then it is not adding the inputted text to it and at the same time it is getting closed the dependent fields div .

 

I'm unable to add the text to it. Need help.

 

@arunpatidar26  @Anudeep_Garnepudi @Ratna_Kumar @Feike_Visser1 @Veena_Vikram @vijayalakshmi_s 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
MohitKumarK
MohitKumarKAccepted solution
Level 3
Oct 26, 2021 6:49 AM UTC

Hi @swathialeti ,

 

You can create a cq:dialog on what field you required to be shown in RTE plugin and then a js has to be written to handle showing of dialog in plugin, reading presaved values and saving values. This js has to be added to "cq.authoring.dialog.all" for it to load in RTE.

 

Refer to http://experience-aem.blogspot.com/2019/04/aem-65-touch-ui-rte-rich-text-editor-structured-content-plugin-creating-tooltips.html on steps to create a custom RTE plugin.

 

Thanks!

6 replies

MohitKumarK
MohitKumarKAccepted solution
Level 3
Oct 26, 2021 6:49 AM UTC

Hi @swathialeti ,

 

You can create a cq:dialog on what field you required to be shown in RTE plugin and then a js has to be written to handle showing of dialog in plugin, reading presaved values and saving values. This js has to be added to "cq.authoring.dialog.all" for it to load in RTE.

 

Refer to http://experience-aem.blogspot.com/2019/04/aem-65-touch-ui-rte-rich-text-editor-structured-content-plugin-creating-tooltips.html on steps to create a custom RTE plugin.

 

Thanks!

Translate
Kiran_Vedantam
New Participant
Oct 6, 2021 2:37 PM UTC
Sanjay_Bangar
New Participant
Oct 6, 2021 9:50 AM UTC

Hi @swathialeti ,

                             Could you please explain more and share screenshot.

Kr,

Sanjay

Translate
Level 2
Oct 6, 2021 10:28 AM UTC

Hi @sanjay_bangar ,

 

Screenshot is added please check, in the input field when i click on it, the custom dependent field is getting closed . It is not allowing me to put the text/input because it is getting closed.

Translate
Sanjay_Bangar
New Participant
Oct 6, 2021 4:31 PM UTC

Hi @swathialeti ,

                          You need to add some custom CSS class for that properties to enable it.

Regards,

Sanjay

Translate