AEM 6.4 - RTE doesn't work when placed in a page dialog | Community
Skip to main content
Level 2
June 21, 2018
Solved

AEM 6.4 - RTE doesn't work when placed in a page dialog

  • June 21, 2018
  • 4 replies
  • 2716 views

When RTE configuration is used in the page dialog, and on opening the page property getting the below error , The error occurring only in AEM 6.4 not in 6.2

<description

     jcr:primaryType="nt:unstructured"

     sling:resourceType="cq/gui/components/authoring/dialog/richtext"

     fieldLabel="Description"

     removeSingleParagraphContainer="{Boolean}true"

     singleParagraphContainerReplacement="div"

     name="./description"/>

Any solution to fix this?

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 sofiyans8042875

Hi,

Issue is resolved, Use useFixedInlineToolbar="{Boolean}true" for the rich text property when using the the rte in the page property.

Regards

Sofiyan

4 replies

GaneshM
Level 3
June 22, 2018

Hi Sofiya,

Seems like you have added all the RTE plug-in's  and MiscToolsPlugin causing the issue.  We had similar issue but our client is not really big fan of source edit, so we decided to disable.

Thanks!

Level 2
June 22, 2018

Hi Ganesh,

We have not added any RTE plug-in's and MiscToolsPlugin, using the OOTB rte "/lib/cq/gui/components/authoring/dialog/richtext" .

How you have disabled the sourceedit for rte?

Regads

Sofiyan

GaneshM
Level 3
June 22, 2018

Hi Sofiya,

We just ovrlayed the RTE plug-in's and removed the "source edit" in feature 

Please refer the below code samples.

<desc
   jcr:primaryType="nt:unstructured"
   sling:resourceType="cq/gui/components/authoring/dialog/richtext"
   fieldLabel="Description"
   name="./desc"
   useFixedInlineToolbar="{Boolean}true">

   <rtePlugins
   jcr:primaryType="nt:unstructured"
   sling:resourceSuperType="/apps/test/components/content/rtePluginConfig/rtePlugins"/>

</desc>

In /apps/test/components/content/rtePluginConfig/rtePlugins

In Misctool,

<misctools
   jcr:primaryType="nt:unstructured"
   features="[specialchars]">

</mistools>

Hope this helps!

Thanks!

sofiyans8042875AuthorAccepted solution
Level 2
July 10, 2018

Hi,

Issue is resolved, Use useFixedInlineToolbar="{Boolean}true" for the rich text property when using the the rte in the page property.

Regards

Sofiyan