The webform module uses the WYSIWYG-module in its markup-component, the WYSIWYG Image Upload module isn't working in this constellation.

Involved modules:
Webform 6.x-3.0-beta6
Wysiwyg 6.x-2.1
TinyMCE 3.2.7
WYSIWYG Image upload 6.x-2.0-rc7
jQuery Update 6.x-2.0-alpha1
jQuery UI 6.x-1.3
JQuery UI Dialog API 6.x-1.8
ImageCache 6.x-2.0-beta10

Steps to reproduce:

  1. Create new webform
  2. Create a webform component of type markup
  3. Edit component
  4. Click WYSIWYG Image Upload Button in TinyMCE

Error:
Uncaught TypeError: Cannot read property 'revisions' of undefined
/sites/all/modules/wysiwyg_imageupload/plugins/imgupload/imgupload.js – line 45

Comments

eugenmayer’s picture

Title: Uncaught TypeError: Cannot read property 'revisions' of undefined with Webform module » Add webform support
Category: bug » feature
eugenmayer’s picture

Status: Active » Postponed

Well eventhough this should be not hard to implement, i postpone this for after 2.0.

troyer’s picture

Title: Add webform support » Add webform and block support

Same error message for WYSIWYG in blocks.

eugenmayer’s picture

Title: Add webform and block support » Add webform support

Please open a different feature request

eugenmayer’s picture

Version: 6.x-2.0-rc7 » 6.x-2.2
Status: Postponed » Active

Thats very much related to http://drupal.org/node/823430#comment-3341782 and this should work out as a reciepe. In the terms of webforms, as it is a node, you just need the first part ( allow th id ). The API thing should work out