I am using views, and I have the following issue:

the url for editing/accessing views is:
http://mysitehidden.com/admin/build/views/myview/edit

When I go into create/edit a view, this particular view provides "page view", and under the "Page" options, I open the header, footer, or empty text sections to create code for them, the whizzywig editor kind of "freezes" in place.

I get the following error in Firebug when I click on any of the editor buttons:
uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLDocument.execCommand]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://mysitehidden.com/sites/all/modules/whizzywig/whizzywig/whizzywig.js :: makeSo :: line 155" data: no]

Comments

sdecabooter’s picture

This is most likely because the textarea is included within a fieldset.
It seems to clash with the collapsible fieldsets somehow...
This behaviour has been reported before, but i have not yet found a solution to it :(
Most likely this bug is caused by the JavaScript, which is beyond my control to change

trevorleenc’s picture

ok, that's cool

my workaround, as these aren't html sections that will need to get edited often anyway, was to disable whizzwig on those textareas...

these were:
edit-page-header
edit-page-footer
edit-page-empty
edit-block-header
edit-block-footer
edit-block-empty

thanks for the extremely timely followup...wow...

drupalnesia’s picture

Status: Active » Closed (fixed)

Whizzywig 6.x (for Drupal 6) has these additional visibilities, you can enable/disable editor based on:
- content type, textarea id, comment, path, etc.

Whizzywig 6.x has tested on CCK and work fine with fieldset.

Please upgrade to Drupal 6 so you can use the advanced feature of Whizzywig ... the Fastest and Smallest editor but feature rich! Now has built-in File/Image Browser and Manager!