Opened 13 years ago

Closed 13 years ago

#6746 closed Bug (duplicate)

Closing div is inserted into DOM when Initializing editor with a <textarea> in it.

Reported by: Don 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 (2)

comment:1 Changed 13 years ago by Don

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

comment:2 Changed 13 years ago by Alfonso Martínez de Lizarrondo

Keywords: textarea form element removed
Resolution: duplicate
Status: newclosed
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