RTE in AEM 6.4 touchUI | Community
Skip to main content
Level 3
Sep 26, 2019 3:32 PM UTC

RTE in AEM 6.4 touchUI

Hi,

Rich Text Editor in touchUI dialog is not working for us even in out of the box text component.

We are getting this error in the console whenever we try out of the box text component or our custom component.

richtext.min.5-42--0.js:1148 Uncaught TypeError: a.rte.ui.cui.DefaultFullScreenAdapter is not a constructor

    at c.initializeEditorKernel (richtext.min.5-42--0.js:1148)

    at c.startEditing (richtext.min.5-42--0.js:1160)

    at c.start (richtext.min.5-42--0.js:1161)

    at c (richtext.min.5-42--0.js:812)

    at Object.success (richtext.min.5-42--0.js:812)

    at k (jquery.min.js:99)

    at Object.fireWith [as resolveWith] (jquery.min.js:100)

    at d (jquery.min.js:190)

    at XMLHttpRequest.b (jquery.min.js:202)

Any idea?

Thanks & Regards,

Rachna

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

6 replies

arunpatidar
New Participant
Sep 30, 2019 7:06 PM UTC

Hi,

Please check to reuse RTE config

How to Architect a RTE Solution for AEM Touch UI Dialog

Translate
Arun Patidar
Employee
Sep 26, 2019 3:57 PM UTC

Ref: We are getting this error in the console whenever we try out of the box text component

Can you be more specific:

1. What are you doing when you get the error ? Steps that leads to the error

2. What version of the product ?

Translate
Employee
Sep 26, 2019 5:35 PM UTC

I just tried this on my side and OOTB text component works without any issues on AEM 6.4

Can you try to remove the custom code and test if you still see the same issue?

Another way to test is to point the "sling:resourceSuperType" to "core/wcm/components/text/v2/text"

Translate
Level 3
Sep 27, 2019 9:53 AM UTC

Hi @@hamidk92094312 @@JaideepBrar  Thank you for your messages.

What are you doing when you get the error ? Steps that leads to the error

As soon as I open the touch ui dialog with RTE configured, I see that javascript error and it's not showing rich text editor.

What version of the product ?

AEM 6.0

I tried to use sling:resourceSuperType as well but that didn't help.

Another interesting observation,  We have another template A where I tried to drop this component with RTE configured,  I can see it working in that page with template A.  While the template B page is throwing javascript error, and RTE doesn't work in touchUI dialog, may be something conflicting ?  How can I debug this type of issue?

Thanks,

Rachna

Translate