Expand my Community achievements bar.

SOLVED

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

Avatar

Level 2

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

1513403_pastedImage_0.png

<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?

1 Accepted Solution

Avatar

Correct answer by
Level 2

Hi,

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

Regards

Sofiyan

View solution in original post

4 Replies

Avatar

Level 4

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!

Avatar

Level 2

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

Avatar

Level 4

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!

Avatar

Correct answer by
Level 2

Hi,

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

Regards

Sofiyan