Custom RTE not working with aem page template/property | Community
Skip to main content
DPrakashRaj
Community Advisor
Community Advisor
May 17, 2019

Custom RTE not working with aem page template/property

  • May 17, 2019
  • 1 reply
  • 3205 views

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

and what i expected is

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Level 3
September 27, 2019

Hi

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

DPrakashRaj
Community Advisor
Community Advisor
September 27, 2019

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