Unable to edit the custom dependent editable input field for RTE. | Community
Skip to main content
Level 2
October 6, 2021
Solved

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

  • October 6, 2021
  • 3 replies
  • 1888 views

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.
Best answer by MohitKumarK

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!

3 replies

Sanjay_Bangar
Community Advisor
Community Advisor
October 6, 2021

Hi @swathialeti ,

                             Could you please explain more and share screenshot.

Kr,

Sanjay

Level 2
October 6, 2021

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.

Sanjay_Bangar
Community Advisor
Community Advisor
October 6, 2021

Hi @swathialeti ,

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

Regards,

Sanjay

Kiran_Vedantam
Community Advisor
Community Advisor
October 6, 2021
MohitKumarK
MohitKumarKAccepted solution
Level 3
October 26, 2021

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!