Using RTE in AEM 6.3 | Community
Skip to main content
Level 2
June 27, 2017
Solved

Using RTE in AEM 6.3

  • June 27, 2017
  • 11 replies
  • 14229 views

Hi,

We are trying to use RTE in one of the component that we are creating for our product using AEM 6.3. In classic UI, it is pretty much fine. We define:

xType : richtext and define the rtePlugins under this node in the dialog.

This dialog works fine in we use it in touch UI as it is. But if we change the dialog to cq:dialog and follow the standard of creating the dialog according to touch UI, the dialog does not show the plugins i added under rtePlugins. InPlaceEditing is showing few icons (do not want to use this mode), but the dialog or the full screen dialog does not show the icons as configured in the rtePlugins. I tried rtePlugins node under inplaceediting node and under the node that has resourceType as cq/gui/components/authoring/dialog/richtext.

I would like to see the plugins in the dialog mode and in the full screen edit mode of touchUI. What am I doing wrong here?

Use this link to view the sample package i have created.

Thank you so much for your help.

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 Ratna_Kumar

Hi Anuj,

Yes, in /apps/core/wcm/components/text/v1/text, it containing only Inplace Editing RTE plugins.

To include RTE plugins in dialog, you need to create the dialog for Text component and you can include the RTE plugins and uiSettings(Mandatory) in the dialog as shown in the screenshot.

And below is the view of  both inplace editing RTE and Dialog RTE plugins.

InPlace Editing:

Dialog RTE PLugins:

Since, docs https://docs.adobe.com/docs/en/aem/6-3/administer/operations/page-authoring/rich-text-editor.html ​is not much clear, we(smacdonald2008​ and me) will publish the article on RTE plugins in AEM 6.x in July.

If you need the sample RTE plugins package, I can give you.

Hope this helps!!

~Ratna.

11 replies

Level 5
June 27, 2017

You may want to take a look the AEM 6.3 core component "text", it looks like RTE and you can configure it under the policy.

The component is under the /apps/core/wcm/components/text/v1/text.

anujk4Author
Level 2
June 27, 2017

Hi BigT168, i checked the component you have mentioned. i think i understand the rteplugins used for inplace editing. i wanted to know about the rtePlugins if i want the same functionality in the dialog or full screen dialog.

Thank You

Ratna_Kumar
Ratna_KumarAccepted solution
Level 10
June 27, 2017

Hi Anuj,

Yes, in /apps/core/wcm/components/text/v1/text, it containing only Inplace Editing RTE plugins.

To include RTE plugins in dialog, you need to create the dialog for Text component and you can include the RTE plugins and uiSettings(Mandatory) in the dialog as shown in the screenshot.

And below is the view of  both inplace editing RTE and Dialog RTE plugins.

InPlace Editing:

Dialog RTE PLugins:

Since, docs https://docs.adobe.com/docs/en/aem/6-3/administer/operations/page-authoring/rich-text-editor.html ​is not much clear, we(smacdonald2008​ and me) will publish the article on RTE plugins in AEM 6.x in July.

If you need the sample RTE plugins package, I can give you.

Hope this helps!!

~Ratna.

anujk4Author
Level 2
June 28, 2017

Hi Ratna, thanks for the reply.. Please share the sample RTE plugins package, i will compare my dialog with your package.

I will be waiting for the updated document as well.

Thanks again

Ratna_Kumar
Level 10
June 28, 2017

Hi Anuj,

Please mention your email ID, so that I can share you the package which contains RTE plugins.

Thanks

Ratna

anujk4Author
Level 2
June 28, 2017

Hi Ratna,

My email id is [Removed by moderator.  Please use the Private Message feature.]

Thank You so much for the help.

anujk4Author
Level 2
June 28, 2017

Hi Ratna,

My email id is [Removed by moderator.  Please use the Private Message feature.]

Thank You so much for the help.

Level 5
June 28, 2017

Hi Ratna:

I would like to get the .content.xml under the cq:dialog. Is it impossible to post your dialog file here? I don't need the whole package, just the dialog definition.

Thanks.

Level 5
August 14, 2017

Hi Ratna:

By any chance, do you publish the article on RTE plugins in AEM 6.x in July?

Thanks.

trushton
Adobe Employee
Adobe Employee
August 18, 2017