Duplicate editor when textarea ID is set

borfast - September 19, 2007 - 10:06
Project:YUI Rich Text Editor
Version:5.x-1.0
Component:User interface
Category:bug report
Priority:critical
Assigned:BooDy
Status:closed
Description

On the YUI editor settings page, if I fill in the "IDs" option with an ID of a text area I want YUI editor to replace, it will appear twice. I get two editors stacked on top of each other.

#1

VM - September 25, 2007 - 00:22
Priority:normal» critical

I can verify this bug. When adding body to ID, two editors appear

#2

eporama - September 28, 2007 - 20:52

edit-body is always rich text'ed. If you add it to the list, it's RT-d again. In my opinion, the fact that you can't get edit-body out of the list, is the bug...

line #102; in the module can be removed:

    $textareas[] = 'edit-body';

which will make the widget function as expected. If you put anything into the IDs setting, you have to include all of them.

#3

BooDy - October 2, 2007 - 01:03
Version:5.x-2.x-dev» 5.x-1.0
Assigned to:Anonymous» BooDy
Status:active» fixed

Fixed in 5.x-1.0

#4

Anonymous - October 16, 2007 - 01:11
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.