I downloaded yui, yui editor and the yui lib, installed all, no errors.
But, the editor show up twice on every page where is shall appear!

CommentFileSizeAuthor
#7 yui_editor_ver.zip31.8 KBjlduss
#5 yuitwice.zip9.19 KBsofttouch

Comments

jeffcd’s picture

Do you have a screenshot of this occuring?

jeffcd’s picture

Ahh I see... this occures when you fill out specific IDs that you want to have the editor display for.

jeffcd’s picture

Status: Active » Closed (fixed)

Fixed and available as of 5.x-2.6.5

softtouch’s picture

I did not fill out any ID. I just installed it, leaved the default settings, and it appeared always twice.
In the "statusbar" of the editor (on both) was written "body".
I tried it with local lib and without local lib, but got the same result.
I have of course uninstalled it, before member could complain, so I can not send you a screenshot.
But I will try the new version now, and if it happen, I make a screenshot and save the html code of the page before uninstalling it.

softtouch’s picture

StatusFileSize
new9.19 KB

Here is the screen shot: http://i145.photobucket.com/albums/r212/softtouch_ph/yuitwice.jpg

Attached is the source code of the page.

Version was yui_editor-5.x-2.6-7

jeffcd’s picture

Can you try editing your YUI editor settings and make sure that 'edit-body' is not entered twice in the IDs field. I have also released 2.6-9

Otherwise, contact me directly if you still have this issue.

jlduss’s picture

Status: Closed (fixed) » Active
StatusFileSize
new31.8 KB

I have the same problem

Version was yui_editor-5.x-2.6-9 and yui 2.3
I have nothing on area ID.

AND when I submit update, I get an error message on top of page that another user has modified data!?!?

I reset by default the YUI editor settings, but nothing.

jeffcd’s picture

Try updating to YUI 2.5.1

aaronp’s picture

Version: 5.x-2.6-1 » 5.x-2.6-9

I am experiencing the same issue with the text editor showing up twice for the body field. I'm using version 5.x-2.6-9 of YUI Editor and version 5.x-2.3 of the YUI module. In the YUI settings I have http://yui.yahooapis.com/2.5.1 set as the API.

The problem seems to happen whether or not I have an ID defined for the textareas in the YUI settings page.

jeffcd’s picture

I just released a new package that may fix this bug. Please try it out and let me know. 5.x-2.6.92

jeffcd’s picture

Status: Active » Closed (fixed)

I believe this has been fixed and no one has complained in the last week so I'm closing it. Re-open it if this happens. Give me as many details as possible including YUI library version, yui_editor version, your settings, etc. Thanks.

aaronp’s picture

Just wanted to chime in since I chimed in and disappeared. After switching to the newest version, I have not had any issues with this.

yoyoceramic’s picture

Hello, I just installed both the most recent YUI and YUI Editor. I am seeing two editors exactly like the screenshot above. I cannot seem to remedy this. I am running drupal 6.x

bmddddd’s picture

Title: Yui editor shows up twice on pages » CSS?

Had the same, but the reason I had double filds was because I had CSS-Styling on the textarea and fieldset elements...

I had fixed Yui editor sizes but

.node-form textarea {
width:100%;
}

in my css...

Before, it had it double. When I removed, everything just looked fine.

bmddddd’s picture

Title: CSS? » Yui editor shows up twice on pages

ups sorry for changing the title...

goron’s picture

I am having this issue right now. Two editors are appearing on under the other for all body fields. I'm using:
YUI 5.x-1.3
YUI Editor 5.x-2.6 (the latest versions on the module pages), and
library http://yui.yahooapis.com/2.5.2

I don't have anything entered in the ID's box in YUI Editor settings. As far as the CSS fix, I've looked and there are many places that specify the width of a node to something like 100%. I tried removing the one in node.css, but it didn't help.

Any suggestions? Thank you

goron’s picture

anyone have any suggestions?

populist’s picture

I saw the same issue on a site and traced it down to the hook_form_alter implementation. It seems that on every form (at least in the Drupal 5 version) it adds Javascript to enable the WYSIWYG on edit-block. This is fine if there is only one form on the page, but if there is a second form (for example - the search form) it adds it twice.

populist’s picture

I saw the same issue on a site and traced it down to the hook_form_alter implementation. It seems that on every form (at least in the Drupal 5 version) it adds Javascript to enable the WYSIWYG on edit-block. This is fine if there is only one form on the page, but if there is a second form (for example - the search form) it adds it twice.