RTE in AEM 6.5 touchUI | Community
Skip to main content
btaymaz1
Level 2
April 30, 2021
Solved

RTE in AEM 6.5 touchUI

  • April 30, 2021
  • 3 replies
  • 2012 views

OOB RTE working locally but not on server.

 

Server adding "/etc.clientlibs/clientlibs/granite/coralui2/optional/rte.min.js

 

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

I think I found it.

 

Dependency under "/libs/mcm/campaign/components/touch-ui/clientlibs/rte" is pointing to "coralui2"

 

 

 

3 replies

Asutosh_Jena_
Community Advisor
Community Advisor
April 30, 2021

Hi @btaymaz1 

 

Both local and dev (server) is running on same version of AEM with same service pack and feature pack (if any)?

Was there any recent package deployment that was made?

 

Also when you are trying to use the RTE component are you getting any error in console?

 

Thanks!

btaymaz1
btaymaz1Author
Level 2
May 2, 2021

Yes, they are both 6.5

 

I see handlebars template loading error on page load. And I can't close the dialog after open

Vijayalakshmi_S
Level 10
May 3, 2021

Hi @btaymaz1,

Difference with respect to JS files inclusion(based on the screenshot shared in the query) are the ones from /libs/clientlibs/granite/coralui2/optional folder and modern.js (included in server and not in local)

  • modern.js from /etc/clientlibs/granite/loadash/modern.js is not available in 6.5.0
  • Also, handlebar.js from .../optional/clientlibs/handlebars.js is not available in 6.5.0 (clientlibs folder within optional is not there at first place)

High level root cause for this would be use of coral ui 2 resource with respect to RTE perhaps say custom plugins, leading to inclusion of /libs/clientlibs/granite/coralui2/optional/rte that has dependency on handlebars.

 

Given all this, I suggest to check the following

  • Availability of files in these locations in both server and local. 
  • Latest project specific code base on both the instances. 
  • If you have overlayed clientlibs, cross check its availability in both the instances (as I couldn't see above mentioned in my plain 6.5.0 instance)
  • Comparison on server and local on exact same page (Server is from live copy page and local is from lang master from the screenshot)
  • You have already compared the instance details and confirmed it to be 6.5. Just to be sure, cross check from http://localhost:4502/aem/start.html -> Right hand section -> "Help" -> About Experience Manager. (If you have checked it this way already, ignore)
btaymaz1
btaymaz1AuthorAccepted solution
Level 2
May 3, 2021

I think I found it.

 

Dependency under "/libs/mcm/campaign/components/touch-ui/clientlibs/rte" is pointing to "coralui2"

 

 

 

kautuk_sahni
Community Manager
Community Manager
May 4, 2021
@btaymaz1, thank you for sharing the answer with AEM community, this would help in posterity. Good to have AEM SME like you in this AEM Community. Keep contributing.
Kautuk Sahni