Error while opening inline RTE in Windows 10(Google Crome & Firefox) | Community
Skip to main content
Anupam_Maiti
Level 2
Jul 24, 2018 7:44 AM UTC
Solved

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

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)

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
vish.dhaliwalAccepted solution
Employee
Jul 24, 2018 6:17 PM UTC

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

6 replies

Employee
Jul 25, 2018 5:43 PM UTC

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

Translate
Anupam_Maiti
Level 2
Jul 25, 2018 5:30 AM UTC

Hi Vishu,

Thanks for your support, your solution worked for me.

Regards,

Anupam Maiti

Translate
Anupam_Maiti
Level 2
Jul 25, 2018 5:13 AM UTC

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

Translate
smacdonald2008
Level 10
Jul 24, 2018 9:11 PM UTC

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. 

Translate
vish.dhaliwalAccepted solution
Employee
Jul 24, 2018 6:17 PM UTC

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

Translate
Employee
Jul 24, 2018 6:15 PM UTC

Hello,

Can you disable the touchscreen in Windows 10 [1] and on the browser [2] and see if it resolves the issue.

[1] https://support.microsoft.com/en-us/help/4028019/windows-enable-and-disable-your-touchscreen-in-windows-10

[2] https://ccm.net/faq/40811-google-chrome-how-to-disable-touch-input

Regards,

Vishu

Translate