Conflict with Webform
| Project: | TinyMCE |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Just upgraded to 2.3 version every time I go to edit an existing form, it gives me a blank white page with multiple links "disable rich-text". Rich text is my custom HTML filter.
I used the tinymce_theme function to unset the following fields:
case 'extra-items':
case 'extra-description':
case 'value':
case 'webform-confirmation':
case 'webform-additional-validate':
case 'webform-additional-submit':
I looked up the source code, and everything was actually there, so I went ahead and disabled tinymce for the "body" field (case 'body':) and the webform rendered just fine. Disabling the body doesn't really work well since it disables it site-wide.
I'm using tinymce 5.x.-1.9.
Anyone else can confirm this bug?

#1
I can confirm the same thing happened to me with the latest Webform 5.x-2.3. I'm running tinymce 5.x-1.9 as well.
#2
same thing for me since I installed JQuery Update 5.x-2.0, but probabili the issue is related to tinymce and jquery_update
#3
This seems to be happening to me only in FireFox 2 and not in IE7 or Chrome, although I haven't tested extensively.
#4
I can also confirm that when using the same module versions as the original poster that I receive the same error.
#5
I also confirm this issue.
#6
Great that everyone (including myself) is confirming this issue, but does anyone have any idea what the heck is actually causing it? Where's the webform module's maintainer? Setting this issue to critical since it completely breaks the node/add and node/edit forms and tinymce is used on TONS of Drupal sites.
#7
My guess is that the problem is in tinyMCE, considering that Webform works without tinyMCE just fine. Webform modifies the body field to move it to it a different location in the form (putting it in the Webform settings instead of in the root of the form). My guess is that tinyMCE has hard-coded some kind of modifications to the body field without checking that it is in that location.
#8
Why does webform need to make that modification? If moving it back to the default location will solve the problem, why not do that and just alter the label and description instead if you need it to be different than a standard node form? I tried moving it back out of the fieldset and TinyMCE works fine. See attached for a rough but working patch.
#9
Rather than changing Webform, I think the appropriate response is fixing tinyMCE, which just shouldn't assume that the field isn't moved, or that it is there at all. If it breaks because of the move, my guess is that it also breaks when the body field does not exist at all. The webform fields are all grouped together in "Basic settings" specifically to prevent CCK fields or other options from accidentally separating the Webform options from each other.
#10
problem also exists on Drupal 6 version
#11
Anyone using Drupal 6, I'd recommend using WYSIWYG API and install tinyMCE that way. Current signs are pointing to tinyMCE module being abandoned. This won't be fixed in Webform as it's a tinyMCE bug.
#12
I'm getting this on one site too.
One thing I noticed is that in firefox 2, if I try to load http://website.org.au/node/add/webform, it doesn't finish, and if I then go to a different address, the page appears as: wyciwyg://13/http://website.org.au/node/add/webform in the history/back button list. Any ideas what that might mean?
#13
I can confirm this bug as well. Would be very nice to get this fixed, as it is rather critical.
#14
@naught101: Same here as #12. The following temporary fix works for me http://drupal.org/node/525586#comment-2061162
#15
I'm getting the same error message in a Drupal 5.20 install with TinyMCE 5.x-1.9 after I installed JQuery Update 5.x-2.0.