Because of the help of sun I would like to give back some of my code.

The WYSIWYG API has a big disadvantage in the TinyMCE support. All buttons are added to the same row.

With Internet Explorer this results in big problems. If one adds a lot of icons f.ex. the table icons, the TinyMCE width will kill the theme layout.

The tinymce project has a nice solution for this:

All buttons are distributed on the available three rows.

I implemented this feature in the tinymce.inc.

The buttons of TinyMCE are now distributed within the three rows.

The attached patch is for drupal 6.x Version 0.5.

It would be nice, if this could be submitted to the head version.

CommentFileSizeAuthor
wysiwyg_tinymce_rows_patch.txt3.45 KBbrainski
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sun’s picture

Status: Needs review » Closed (duplicate)

Thanks for taking the time to create this patch!

Unfortunately, this patch is a step backwards as the code looked that way before. We are working on a real solution for this in #277954: Allow to sort editor buttons.