Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Custom RTE not working with aem page template/property

Avatar

Community Advisor

i want to use same RTE Plugins and Ui Settings in touch Ui dialog and in-place editing. It's working on individual component level but the same is not working when configured as page properties.

  1. <text
  2.    jcr:primaryType="nt:unstructured"
  3.    sling:resourceType="cq/gui/components/authoring/dialog/richtext"
  4.    fieldLabel="Text"
  5.    name="./text">
  6.    <rtePlugins
  7.    jcr:primaryType="nt:unstructured"
  8.    sling:resourceSuperType="/apps/blog/dialogs/standardRTE/rtePlugins"/>
  9.    <uiSettings
  10.    jcr:primaryType="nt:unstructured"
  11.    sling:resourceSuperType="/apps/blog/dialogs/standardRTE/uiSettings"/>
  12. </text>

what i see the OTB functionality of richtext editor but not able to load the custom property. what i see is

1754755_pastedImage_0.png

and what i expected is

1754759_pastedImage_1.png

Do i need to design it differently when i use the RTE with page property/Template. However it works fine when i copy the rtePlugins and uiSettings node inside text field but that i don't want. i want to put rtePlugins and uiPlugins list at one place and re-use it every where

2 Replies

Avatar

Level 3

Hi

Have you found any solution, we are facing similar issue too.

Avatar

Community Advisor

Hi, i think RTE component behaves differently with page template. Re-use of rtePlugins and uiSettings to load custom property doesn't work at page level. So, i just copy the node inside richtext, that's the work around for now