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:
- Create new webform
- Create a webform component of type markup
- Edit component
- 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
Comment #1
eugenmayer commentedComment #2
eugenmayer commentedWell eventhough this should be not hard to implement, i postpone this for after 2.0.
Comment #3
troyer commentedSame error message for WYSIWYG in blocks.
Comment #4
eugenmayer commentedPlease open a different feature request
Comment #5
eugenmayer commentedThats 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