Community & Support

Slight problem with YUI rich text editor

helo

i've installed YUI editor in my Drupal 6.8. it works, but there is a slight problem with the button layout.

http://farm4.static.flickr.com/3255/3158710857_da85f99a95.jpg?v=0

the button layout is not straight. how can i fix it?
is there anyone can help me please?

Comments

Create a Custom Button Profile

Navigate to Site Configuration > YUI Editor Settings > Edit User Role and scroll down to the Buttons section

If you select the custom button profile, it will allow you to drag buttons around that you don't want. While there, if you double click on the text box it will allow you to add custom text. (It looks like the default text might be too long.)

Perhaps a combination of these things will help you with your problem.

--
Jessy

Managed to get this fixed by changing line 71 in yui_editor\toolbars\yui_editor_toolbar_default.js

from this:

{ group: 'indentlist', label: 'Indenting and Lists',

to this:

{ group: 'indentlist2', label: 'Indenting and Lists',

Found solution by using Firebug to compare CSS classes in YUI Editor on Drupal installation vs. the one on the online demo page at the Yahoo! Developer Network site.

Screenshots:

Environment:

  • Drupal 6.11
  • Yahoo YUI: 6.x-1.1-rc2
  • YUI Rich Text Editor: 6.x-2.33
nobody click here