Wednesday, March 18, 2009

Show enable/disable rich text toggle link has no effect

If you use WYSIWYG module in a drupal and notice that "Show enable/disable rich text toggle link doesnt work", here is the patch which will make it work.

Or you can edit the wysiwyg.js file and add an if condition to solve this.

if (Drupal.settings['wysiwyg']['showToggle']) {
Drupal.wysiwygAttachToggleLink(context, params);
}



instead of

Drupal.wysiwygAttachToggleLink(context, params);


Please let me know if it doesnt works for you.

2 comments: