YUI Rich Editor does not appear
| Project: | YUI Rich Text Editor |
| Version: | 5.x-2.x-dev |
| Component: | User interface |
| Category: | support request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
I have installed the YUI module and the YUI Rich Text Editor module, but I can't get the Rich Text Editor to load. I went through all possible steps, described in the INSTALL.TXT, on help forums etc... but nothing that makes it work.
I installed both modules, enabled them and set access for registered users + admin.
I tried both serve and local library access:
- server: http://yui.yahooapis.com/2.3.0/ and http://yui.yahooapis.com/2.5.1/
- local: lib/yui_2.5.1 and http://reloadingimages.wsnw.net/lib/yui_2.5.1 and http://reloadingimages.wsnw.net/public_html/lib/yui_2.5.1
I left the paths blank; and tried to enter several paths in the YUI editor config module;
*
http://reloadingimages.wsnw.net/drupal/node/add/blog
drupal/node/add/blog
/drupal/node/add/blog
And I entered 'Body' in the IDs field;
Even when I left it blank nothing happened
I really don't know why it still doesn't work; I think I tried every single possibility...
Is there anything I forgot?
Would be great to hear how you guys got it working.
Thanks

#1
Try downloading the latest 5.x release and installing that. Please contact me directly if you still have problems.
#2
I also had same problem, downloaded YUI editor severally, replaced it with old modules, did so many trials to get it back :( all in vein
#3
I had the same problem with 2.6.0 and drupal 5.14. YUI editor never showed up.
#4
I'm having the exact same problem, Drupal 5.14, I've installed the latest versions of YUI and the editor and nada - it is loading the JS/CSS just fine, I've tried changing the YUI version it is including from 2.3.0 to 2.5.1 to 2.6.0, nothing, not even a flicker, no errors, JS or otherwise - it just doesn't load. Any ideas where to start?
#5
Leave the default settings to point to the Yahoo server for the YUI settings until you get it working...
For the paths, enter:
node/*comment/reply/*
and in the ID box, enter:
edit-bodyedit-comment
and of course set permissions for YUI interface admins only, user access to YUI editor - try that, worked for me :)
#6
it looks like one has to go through hell just to install one module ...
this is just so great ...
#7
A slight amendment to my post #5 above... the paths should be:
node/*comment/*
to cover editing comments on advanced forum etc.
And yes... right now I'm going through it trying to get it to act consistently - not sure whether its the yui editor, the yui API interface or the java installation, but it now refuses to upload images on a post/comment... wierd.
#8
I cannot install it too.
I have the YUI locally (path as http://xxx/yui-2.6.0 not under drupal directory) and there I copied js files from YUI Library (yui\build\editor\*.js).
The paths for YUI editor setting I leave blank because it says (for all forms leave blank).
I copied also all files/directories from yui\build\yahoo-dom-event, ..\element, ..\container, ..\menu, ..\button, ..\YAHOO, ..\event, ..\optional components(animation, dragdrop, resize) to http://xxx/yui-2.6.0
#9
Did all this, still doesn't work. the JS / CSS is loading fine, but nothing attaches to the textarea. I have no idea what to try next.
#10
@AndrejT: if you installed the YUI API files locally, then the entry for the YUI config settings should reflect a relative path, and not an absolute one. For instance, if you have installed the yui-2.6.0 directory within your sites/default/files directory (which can be defined as the File System Path within Site Configuration -> File System) then you simply enter: files/yui-2.6.0 into the YUI settings path (no http:// prefix).
Leaving the paths blank I think is fine but you need to define for which IDs the editor must apply, otherwise it will only appear for body areas.
Hope this helps.
#11
Try turning off the devel toolbar if it's on. YUI editor wasn't showing for me, and then I turned it off and it worked fine.
#12
It is my problem too. The case is complicated by installing of YUI editor with WYSIWYG API. In wysiwygAPI instruction it is recomended to install YUI library in sites/all/modules/wysiwyg_api/yui/ dyrectory. In the instruction for YUI this is: sites/all/modules/yui/. Some people in the Internet say that it is work if installed in sites/all/modules/yui-2.6.0/ , but it does not work for YUI 2.7.0.
I'v try all variants, but nothing works. YUI do not appear in modules menue.
Where it is right to install YUI editor and YUI library when it used with WYSIWYG API? Or may be it is better to uninstall WYSIWYG API and use YUI as stand-alone module?
P.S. Sorry, problem was in such moment: I'v make yui directory in the sites/all/modules/wysiwyg/, upload there archive with yui editor/library and unpack it by tar command. But this make one more directory yui, where all the files unpacked. Structure was : sites/all/modules/wysiwyg/yui/yui/, naturally, Drupal can't see module.
Need to be more careful...
YUI now is appear in wysiwyg menue and may be activated, but don't work correctly. All buttons forms vertical bond in the left side of text window; some buttons (font size, color) don't work.
#13
I had a similar issue, in my case it was because I was missing
<?phpprint $scripts
?>
<?phpprint $closure;
?>
#14
It doesn't work with certain themes, so it's probably something missing in the template or page files.
I just had trouble getting it to show up in itheme, but as soon as I switched to Garland it was there.
#15
Just as a follow up, I checked itheme and it was in fact missing
<?phpprint $closure;
?>
in the page.tpl file. After adding this it works. There are probably a lot of themes out there that are missing this.
#16
I have it installed and running, but I feel like I am missing... a lot.
Check out the screen shot at http://drupal.org/files/Screenshot_0.png
You can't add an email address link? It doesn't go back and forth from source to HTML?
Is this normal?
#17
I had problem with local lib yui-2.6.0. I'm installed yui.module and yui_editor.module added lib in the folder sites/default/files/yui-2.6.0. But YUI Rich Editor does not appear. And I looked in the yui_editor.module. I found next:
$yui_source = variable_get('yui_source','http://yui.yahooapis.com/2.5.1');...
yui_add_js('editor', $yui_source, '/build/resize/resize-beta-min.js');
yui_add_js('editor', $yui_source, '/build/editor/editor-beta-min.js');
changed to:
$yui_source = variable_get('yui_source','http://yui.yahooapis.com/2.6.0');...
yui_add_js('editor', $yui_source, '/build/resize/resize-min.js');
yui_add_js('editor', $yui_source, '/build/editor/editor-min.js');
And now it is work.
Perhaps this will help somebody