RTE in AEM 6.4 touchUI | Community
Skip to main content
Level 3
September 26, 2019

RTE in AEM 6.4 touchUI

  • September 26, 2019
  • 2 replies
  • 4805 views

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.

2 replies

Adobe Employee
September 26, 2019

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 ?

Adobe Employee
September 26, 2019

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"

Level 3
September 27, 2019

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

arunpatidar
Community Advisor
Community Advisor
September 30, 2019
Arun Patidar