Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Custom RTE not working with aem page template/property

Avatar

Level 4

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

1 Reply

Avatar

Level 3

Hi

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

Avatar

Level 4

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