Opened 15 years ago
Closed 15 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.
Test case