When loading TinyMCE, buttons appear at the bottom, centered, distributed over 3 lines with lots of blank space, and are non-movable.

Normal user expectations are buttons are at top, left-aligned, and arranged to reduce unused space. In my case, there's no reason why TinyMCE's buttons couldn't be in two lines.

Not sure if TinyMCE supports movable button panels? If not, disregard that part.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sun’s picture

Category: bug » support
Status: Active » Fixed

You can configure the toolbar location for each Wysiwyg profile.

Aren Cambre’s picture

Title: TinyMCE buttons are messed up » TinyMCE buttons should conform to norms by default
Category: support » bug
Status: Fixed » Active

Thanks. Don't mean to be argumentative, but to maximize usability, the buttons should be in the expected positions by default. Users should customize if they have nonstandard needs. I feel like the current configuration reverses that.

I would be happy to take a stab at a patch unless you'd rather.

sun’s picture

Status: Active » Postponed (maintainer needs more info)

The default configuration (i.e. just assigning TinyMCE to an input format) is identical to what you are "proposing" as the defaults here. Either you did something wrong or I do not understand this issue.

Aren Cambre’s picture

Status: Postponed (maintainer needs more info) » Active
FileSize
20.96 KB

See attached image.

Bone stock WYSIWYG module, bone stock TinyMCE 3.2.1.1, bone-head Drupal administrator.

sun’s picture

Status: Active » Postponed (maintainer needs more info)

What happens if you remove the associated wysiwyg profile from the input format, and re-assign TinyMCE to it afterwards?

Aren Cambre’s picture

Just tried, made no difference. (Yes, I hit Remove at admin/settings/wysiwyg/profile.)

sun’s picture

Does this still happen after updating to the latest development snapshot?

Also, please add some information about the browser/platform you are testing on.

Aren Cambre’s picture

BTW, did you copy code from the prior TinyMCE module? I had a similar problem there, too: http://drupal.org/node/274591

Aren Cambre’s picture

#7: just installed the latest dev version (Dec. 26), and removed and re-created profile. No difference.

Using Firefox 3.0.5 on Windows Vista Enterprise 32 bit (fully patched).

Just tried it on IE 7, and get the same problem.

sun’s picture

I hope you did not alter or manipulate any code of wysiwyg module.

btw, please read http://drupal.org/project/tinymce - the Drupal tinymce module is abandoned and should be uninstalled.

Aren Cambre’s picture

I know the old module is discontinued. That's why I wrote "prior TinyMCE module" above.

Did not modify code from the current module. When I wrote "just installed the latest dev version (Dec. 26)" in #9, I mean I deleted everything from /sites/sitename/modules/wysiwyg except the tinymce subdirectory and uploaded your clean code w/o modification. I did not modify your 6.x-0.5 release either.

spiffyd’s picture

Priority: Normal » Minor

It's not that hard to make a one time tweak in settings is it? :P

sun’s picture

Title: TinyMCE buttons should conform to norms by default » TinyMCE: Wrong default toolbar position/alignment in 3.2.1.1
Priority: Minor » Normal
Status: Postponed (maintainer needs more info) » Needs review
FileSize
2.25 KB

Whoa. Those bastards changed the default settings in 3.2.1.1.

sun gets himself a knife...

Sorry, Aren Cambre - of course, this is an issue that is simply not easy to replicate (which is always the case when dealing with external libraries that change unexpectedly *in minor releases*).

Please test attached patch.

Aren Cambre’s picture

Works. Thanks for fixing.

sun’s picture

Status: Needs review » Fixed

Thanks, committed to all branches. A new development snapshot will be available within the next 12 hours. erm... Happy New Year! ;)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.