Ticket #6746 (closed Bug: duplicate)

Opened 5 years ago

Last modified 5 years ago

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:


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

comment:1 Changed 5 years ago by doncx55

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

comment:2 Changed 5 years ago by alfonsoml

  • Keywords textarea form element removed
  • Status changed from new to closed
  • Resolution set to duplicate
Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy