I am facing an issue with RTE. It is working fine in local environment. But in dev and test environment, it doesn't work as expected. | Adobe Higher Education
Skip to main content
Level 2
July 16, 2020

I am facing an issue with RTE. It is working fine in local environment. But in dev and test environment, it doesn't work as expected.

  • July 16, 2020
  • 3 답변들
  • 2330 조회

In dev/test environment, it opens in full screen mode and when trying to use plugins in dialog mode, they don't work typically lists or Italic etc. I have checked logs and in console I see a js error coming from a minified js file. I am unable to compare the minified file from local js file to see any difference. The service pack installed in both local and dev/test is same version.

 

 

이 주제는 답변이 닫혔습니다.

3 답변

vanegi
Adobe Employee
Adobe Employee
July 16, 2020

What is the exact AEM patch wherein you are testing this? Can you post the JS error coming in console?

humar90271877작성자
Level 2
July 16, 2020

AEM version is 6.3 and service pack version is 6.3.2. The error in the console is as follows:

all.min.js:817 Uncaught TypeError: Cannot read property 'hasBackgroundToolbar' of null
at g (all.min.js:817)
at HTMLDivElement.<anonymous> (all.min.js:806)
at Function.each (jquery.min.js:91)
at bP.fn.init.each (jquery.min.js:37)
at HTMLElement.<anonymous> (all.min.js:805)
at HTMLDocument.dispatch (jquery.min.js:1305)
at HTMLDocument.cm.handle (jquery.min.js:1210)
at Object.trigger (jquery.min.js:1282)
at HTMLElement.<anonymous> (jquery.min.js:1445)
at Function.each (jquery.min.js:91)

Adobe Employee
July 16, 2020

RE : I am unable to compare the minified file from local js file to see any difference.

 

What do you mean? just drop the .min off the node name and it will render the full non-minfied version of that. 

OR

Go into the HTML Library Manager OSGI config and temporarily turn off minify while you debug. 

Ankur_Khare
Community Advisor
Community Advisor
July 23, 2020

pls share the logs