Closed (fixed)
Project:
YUI Rich Text Editor
Version:
6.x-2.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Oct 2008 at 07:29 UTC
Updated:
4 Nov 2008 at 17:28 UTC
Hi
I'm using Drupal 6.4, YUI at path: http://yui.yahooapis.com/2.5.1, latest YUI and YUI editor plugins for Drupal 6, and the Garland theme (unmodified).
Whatever I do, plugins (like file upload, flickr image, etc...) are not displayed in the editor, and those settings seem completely ignored. Firefox reports no errors. The basic editor works. I have only one editor profile.
Any hint?
Thanks a lot, this looks great. If plugins worked, it'd be perfect :)
Palantir
Comments
Comment #1
palantir commentedOK, I have some more feedback. JS files are correctly included, the problem is that here:
(example from plugins/img_upload.js)
if (config.img_upload == 1) {
yui_img_uploader(myEditor, '?q=/yui_editor/image_upload', 'files[upload]', config.base_path);
}
the variable config.img_upload is undefined. Same in the flickr plugin, where is a similar check just at the beginning of the file. Changing this temporarily to if (config.img_upload == 1 || true) makes the plugin appear, so there must be some kind of problem in the config part...
This is in Firefox 3.0.3
Comment #2
jeffcd commentedThis should be fixed with the 6.2.2 version that I released about 5 minutes ago.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #4
fellow commentedI use YUI 6.x-1.1-beta3 and YUI editor 6.x-2.31 . No plugins displayed.
Comment #5
jslag commentedsee also http://drupal.org/node/322205