Expand my Community achievements bar.

SOLVED

aem 5.6.1 rich text buttons

Avatar

Level 2

just updated to the newest 5.6.1 from 5.4 and the text component (with richtext enabled) buttons don't wrap to the new line anymore.  So buttons like source code are cut off to the right.  For now, a temporary fix is we have the edit window pop out by having cq:dialogMode = floating and the user then can resize the window if he/she needs to hit the extra buttons.

But is there a way to have the buttons wrap around like it did in 5.4?

1 Accepted Solution

Avatar

Correct answer by
Level 10

quo-so wrote...

here's the attached image that shows a floating edit dialog that cuts off the rest of the buttons (does not wrap).  It's not so much of a problem with the floating dialogs as you can resize them to show the rest of the buttons but for the ones that are in place editing dialogs you can't resize them so it becomes a problem

In floating edit dialog node add cq:dialogMode property to 'floating' OR increase the property (height,width) of the richtext widget itself to have more space.

View solution in original post

4 Replies

Avatar

Level 10

Please provide snapshot for better understanding the query?

Avatar

Level 2

here's the attached image that shows a floating edit dialog that cuts off the rest of the buttons (does not wrap).  It's not so much of a problem with the floating dialogs as you can resize them to show the rest of the button.

The real problem is that editing dialogs that are not floating, you can't resize them so it becomes a problem.  The API doesn't seem to have a setting for this. But it does mention that is should be line-wrapped already in the "adjustEditorToToolbarHeight" config discription

 

[img]Screen Shot 2014-05-16 at 12.51.29 PM.png[/img]

Avatar

Correct answer by
Level 10

quo-so wrote...

here's the attached image that shows a floating edit dialog that cuts off the rest of the buttons (does not wrap).  It's not so much of a problem with the floating dialogs as you can resize them to show the rest of the buttons but for the ones that are in place editing dialogs you can't resize them so it becomes a problem

In floating edit dialog node add cq:dialogMode property to 'floating' OR increase the property (height,width) of the richtext widget itself to have more space.