Text component can't be loaded correctly | Community
Skip to main content
Level 5
June 8, 2023

Text component can't be loaded correctly

  • June 8, 2023
  • 2 replies
  • 1417 views

Hi All,

 

I am trying to insert an OOTB Text component onto my page, and it can't be loaded correctly. Initially I was trying to create my own RTE component, but then I figured it can't display even with extensive help from a user(https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/granite-ui-component-in-static-template/m-p/597567#M149368). Thanks, @estebanbustamante ! Then I tried it on a local AEM instance, and it works. The unsuccessful one fails to load the correct CSS.

Here is the spec of two instances:

failing instance: 6.5.11.0 (remote server)

successful instance: 6.5.0 (local)

 

They all load the same css and js, except 6.5.0 loads the regular ones, 6.5.11.0 loads the minified ones.

I take the following page as my test one by inserting an OOTB Text component into a Parsys:

http://localhost:4502/editor.html/content/we-retail/language-masters/en/products/equipment/surfing.html

 

These are the screenshots for successful one (local instance)

 

These are the screenshots for the failing one (remote instance)

 

We can see the successful one is loading `class="cq-RichText-editable coral-RichText-editable coral-RichText coral-DecoratedTextfield-input is-edited webkit chrome"`, another one is loading `class="coral-Form-field"`. There are other css properties fail to load such as the menu, I consider they belong to the same issue.

 

Can anyone please help? Thanks!

 

-kt

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

2 replies

EstebanBustamante
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
June 8, 2023

Do you see any errors in the browser console? Maybe there is an issue with the minification process, I would start checking if there are any issues in the console, and maybe the resources(CSS) are not loaded due to that, or I would play with the minification where it is working and where is not, to discard that is the problem. 

Esteban Bustamante
aanchal-sikka
Community Advisor
Community Advisor
June 8, 2023

Hello @kevin_gta 

 

To rule out the issue with the AEM's OOTB functionality, I would suggest to first try on Vanilla instance.

1. Try RTE on 6.5.0, with no custom code, minification on

2. Try RTE on 6.5.0, with no custom code, minification off

3. Try with 6.5.11, no custom code, minification on

4. Try with 6.5.11, no custom code, minification off

 

If in either case, their is any issue, please raise a support ticket. Please use Incognito tab in each test

 

Aanchal Sikka
Kevin_GTaAuthor
Level 5
June 8, 2023

Hi @estebanbustamante ,

No, I don't find any related error messages on 6.5.11.0.

 

@aanchal-sikka ,

6.5.0 runs on both regular and minified modes, while 6.5.11.0 fails on both.