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

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

  • June 21, 2018
  • 4 respostas
  • 2716 Visualizações

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?

Este tópico foi fechado para respostas.
Melhor resposta por 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 Respostas

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!

sofiyans8042875AutorResposta
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