Ticket #6746 (closed Bug: duplicate)
Closing div is inserted into DOM when Initializing editor with a <textarea> in it.
| Reported by: | doncx55 | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | 3.4.2 |
| Keywords: | Cc: |
Description
This problem happens in 3.4.2 and also 3.1, so it must have been around for a while.
When CKEditor is initialized and the contents include a <textarea> form tag, then CKEditor inserts and extra </div> into the DOM.
This renders the editor useless, as the outer form is disabled by the insertion. Also, it makes it impossible to edit an existing form with a textarea in it.
See examples:
http://www.coxe.org.CKBugDemo/FormTest1.html (working form, no textarea)
http://www.coxe.org/CKBugDemo/FormTest2.html (*exact* same, but with textarea element in editor)
Change History
Note: See
TracTickets for help on using
tickets.

Slight error in first demo link. Please browse to http://www.coxe.org/CKBugDemo/FormTest1.html