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

SOLVED

Error while opening inline RTE in Windows 10(Google Crome & Firefox)

Anupam_Maiti
Level 2
Level 2

Getting below error while opening RTE in inline mode in Windows 10 machine

Browser : Google Crome (Version 67.0.3396.99 (Official Build) (64-bit)) & Firefox Quantum(61.0.1 (64-bit)).

core.js:20400 An error has occured during execution of the selected action: Cannot read property 'addClass' of null -> TypeError: Cannot read property 'addClass' of null

    at instanceGenerator.construct [as _construct] (http://localhost:4502/libs/clientlibs/granite/richtext.js:40594:23)

    at instanceGenerator.Class.prototype.construct (http://localhost:4502/libs/clientlibs/granite/richtext.js:292:19)

    at new instanceGenerator (http://localhost:4502/libs/clientlibs/granite/richtext.js:303:27)

    at instanceGenerator.createToolbar (http://localhost:4502/libs/clientlibs/granite/richtext.js:42441:21)

    at instanceGenerator.createToolbar (http://localhost:4502/libs/clientlibs/granite/richtext.js:4908:37)

    at instanceGenerator.initializeEditorKernel (http://localhost:4502/libs/clientlibs/granite/richtext.js:47670:25)

    at instanceGenerator.start (http://localhost:4502/libs/clientlibs/granite/richtext.js:48021:12)

    at instanceGenerator.start (http://localhost:4502/libs/cq/gui/components/authoring/editors/clientlibs/core.js:5633:32)

    at instanceGenerator.start (http://localhost:4502/libs/cq/gui/components/authoring/editors/clientlibs/core.js:5206:103)

    at processConfig (http://localhost:4502/libs/clientlibs/granite/richtext.js:38721:15)

RTE-ERROR.PNG

1 Accepted Solution
Vish_dhaliwal
Correct answer by
Employee
Employee

Steps to Disable Touch API:

Chrome:

- Type chrome://flags/ in your browser

- Search for Touch Events API

- Set it to Disabled

Firefox:

Type "about:config" into the address bar of the browser, click the "I'll be careful, I promise!" button and scroll down until you find "dom.w3c_touch_events.enabled" ....when you click this item, a dialog box will appear that allows you to change the value of the setting.

disable=(0) enable=(1) auto-detect=(2).

Write 0 to disable it.

Regards,

Vishu

View solution in original post

0 Replies
Vish_dhaliwal
Correct answer by
Employee
Employee

Steps to Disable Touch API:

Chrome:

- Type chrome://flags/ in your browser

- Search for Touch Events API

- Set it to Disabled

Firefox:

Type "about:config" into the address bar of the browser, click the "I'll be careful, I promise!" button and scroll down until you find "dom.w3c_touch_events.enabled" ....when you click this item, a dialog box will appear that allows you to change the value of the setting.

disable=(0) enable=(1) auto-detect=(2).

Write 0 to disable it.

Regards,

Vishu

View solution in original post

smacdonald2008
Level 10
Level 10

Re-install AEM into another folder and try again. I cannot reproduce this issue. There are files or libs missing from your current AEM system. 

Anupam_Maiti
Level 2
Level 2

Hi Scott,

I have tried installing AEM into another folder faced the same issue there also.

Vish Dhaliwal's solution worked for me. Seems there is some existing issue With Windows 10 touch screen enabled desktop.

Found another post with similar issue : issue with OOTB Rich Text Editor (RTE) in 6.3

Please let me know if there is any code fix is available from Adobe for the same issue.

Regards,

Anupam Maiti

Anupam_Maiti
Level 2
Level 2

Hi Vishu,

Thanks for your support, your solution worked for me.

Regards,

Anupam Maiti

Vish_dhaliwal
Employee
Employee

Hello Anupam,

I am glad it worked

Hybrid devices are not supported in 6.3 [1]. The fix is to disable Touch API.

[1] Known Issues

Regards,

Vishu