Opened 14 years ago

Closed 14 years ago

#5420 closed Bug (duplicate)

Destroying editor on replaced textarea inserts <br /> to originally empty input

Reported by: Harri Pitkänen Owned by:
Priority: Normal Milestone:
Component: General Version: 3.2
Keywords: Cc:

Description

We are using a standard textarea element that can be changed into a CKEditor and back by clicking a button. When the textarea is originally empty and user makes no changes to it, switching to CKEditor and back to normal textarea leads to a "<br />" element being inserted.

I will attach a sample HTML page that demostrates the problem. Click "Toggle state" twice and you should see the extra br in the text area. The version of CKEditor we are using is 3.2.

Tested on Linux with Firefox 3.5.8 and Opera 10.10. The problem occurs with both.

Attachments (1)

ckeditortest.html (465 bytes) - added by Harri Pitkänen 14 years ago.
Test case

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by Harri Pitkänen

Attachment: ckeditortest.html added

Test case

comment:1 Changed 14 years ago by Alfonso Martínez de Lizarrondo

Resolution: duplicate
Status: newclosed

dup of #5021

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy