contents in RTE table displays in vertical | Community
Skip to main content
kevinx18367959
Level 2
February 15, 2019
Solved

contents in RTE table displays in vertical

  • February 15, 2019
  • 4 replies
  • 1655 views

Good morning Sir,

Another issue about RTE component which inherit core/wcm/components/text/v2/text. and I added cq:dialog configuration for it.

When editing content in RTE, I added a table in it, and contents display in table cells horizontal. After I save the dialog, and open the dialog again, contents in table display in vertical ! please see below snapshot.

This issue only occurs in Chrome, it works fine in Edge.

I'm using AEM 6.4

Thanks for your help!

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 smacdonald2008

If you create a new Maven 15 project and test the default TEXT component on a fresh instance and clear CHROME Cache - are you still seeing this? 

4 replies

Gaurav-Behl
Level 10
February 15, 2019

Most likely, there is a css conflict between your code/parent container and OOB v2/text. Could you debug or engage a frontend developer to debug? It should be something related to 'width' or 'max-width' property.

Steps:

open the developer toolbar in chrome via F12 key and inspect that table element's DOM and check the Style tab to find more clues.

smacdonald2008
Level 10
February 15, 2019

I agree with Gaurav - looks like a possible CSS issue. I have never seen the behavior that you are describing when working with the RTE.

smacdonald2008
smacdonald2008Accepted solution
Level 10
February 15, 2019

If you create a new Maven 15 project and test the default TEXT component on a fresh instance and clear CHROME Cache - are you still seeing this? 

kevinx18367959
Level 2
February 16, 2019

Hi smacdonald2008,

This issue disappeared after I removed the table content from page and created a new one.

For testing, I used the default TEXT component directly in my page,  and added Table feature, it works fine.

Then I compare the new configuration with the old one. no special is found.

Thanks!