Ticket #5420 (closed Bug: duplicate)

Opened 5 years ago

Last modified 5 years ago

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

Reported by: hatapitk 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

ckeditortest.html (465 bytes) - added by hatapitk 5 years ago.
Test case

Change History

Changed 5 years ago by hatapitk

Test case

comment:1 Changed 5 years ago by alfonsoml

  • Status changed from new to closed
  • Resolution set to duplicate

dup of #5021

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy