aem 5.6.1 rich text buttons | Adobe Higher Education
Skip to main content
Level 2
October 16, 2015
Beantwoord

aem 5.6.1 rich text buttons

  • October 16, 2015
  • 4 reacties
  • 1201 Bekeken

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?

Er kunnen geen reacties meer worden geplaatst op dit onderwerp.
Beste antwoord door Sham_HC

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.

4 reacties

Sham_HC
Level 10
October 16, 2015

Please provide snapshot for better understanding the query?

quo-soAuteur
Level 2
October 16, 2015

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]

Sham_HC
Sham_HCAntwoord
Level 10
October 16, 2015

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.

smacdonald2008
Level 10
October 16, 2015

Does the API not provide an options to wrap the buttons:

http://dev.day.com/docs/en/cq/5-6/widgets-api/index.html?class=CQ.Dialog