Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#5386 closed Bug (wontfix)

Google Chrome for Mac, error on form.submit override

Reported by: Marcos Wright Kuhns Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Chrome Cc:

Description

Currently Google Chrome for Mac chokes under certain circumstances in the attachToForm function of core/editor.js producing the following error: "TypeError: Cannot read property 'nodeName' of undefined"

This error only occurs under the following circumstances:

  • There are two CKEditor instances on the page.
  • Both CKEditor instances are associated with elements within a <form> tag.
  • CKEDITOR.config.autoUpdateElement == true

Attached is an HTML page that replicates the error. I've only seen this error in Google Chrome for Mac & have run the test on FF3.0 and Safari 4.x on my Mac.

The simplest solution I've found is to set CKEDITOR.config.autoUpdateElement = false.

Attachments (1)

ckeditor.html (2.3 KB) - added by Marcos Wright Kuhns 14 years ago.
An HTML file that can be used to replicate the error I've described.

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by Marcos Wright Kuhns

Attachment: ckeditor.html added

An HTML file that can be used to replicate the error I've described.

comment:1 Changed 14 years ago by Garry Yao

Keywords: Chrome added; chrome mac error removed
Resolution: wontfix
Status: newclosed

We would like to wait for Google Chrome to fix the chromium bug here.

comment:2 Changed 14 years ago by Marcos Wright Kuhns

Yeah, definitely looks like the relevant bug. Thanks for the update & research.

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