Opened 5 years ago

Closed 5 years ago

#6791 closed Bug (fixed)

[IE7] Editor does not show in IE 7 when textarea name="description"

Reported by: jchook Owned by: Saare
Priority: Normal Milestone: CKEditor 3.5.1
Component: General Version:
Keywords: IE Cc:

Description

IE 7 ONLY

<textarea name="description">content here</textarea>

The rich editor will not initialize in IE 7 when the textarea's name is set to description.

Attachments (5)

6791_TC.html (579 bytes) - added by fredck 5 years ago.
Test case.
6791.patch (520 bytes) - added by tobiasz.cudnik 5 years ago.
6791_2.patch (547 bytes) - added by Saare 5 years ago.
6791_3.patch (1.2 KB) - added by tobiasz.cudnik 5 years ago.
6791_4.patch (675 bytes) - added by Saare 5 years ago.

Download all attachments as: .zip

Change History (18)

comment:1 Changed 5 years ago by jchook

spent the last 4 hours trying to figure this out. hope it helps. There are a ton of related bug reports I found.

comment:2 Changed 5 years ago by jchook

  • Summary changed from Editor does not show in IE 7 when textarea name="description" to [IE7] Editor does not show in IE 7 when textarea name="description"

Changed 5 years ago by fredck

Test case.

comment:3 Changed 5 years ago by fredck

  • Keywords IE7 Internet Explorer initialize show removed
  • Milestone set to CKEditor 3.5.1
  • Status changed from new to confirmed

I was about to open a ticket for it, as a follow up to this page:
http://extrafuture.com/2010/12/07/ckeditor-and-ie7/

The problem is related to the presence of a <meta name="description"> tag. In fact, any textarea with name matching meta tag names will be troublesome.

I've attached a TC for it. The problem can be confirmed in IE8 Compatibility mode as well.

I think we have dealt with this issue in v2 and the solution should be quite simple. It's just a matter of porting it to v3.

comment:4 Changed 5 years ago by tobiasz.cudnik

  • Owner set to tobiasz.cudnik
  • Status changed from confirmed to assigned

Changed 5 years ago by tobiasz.cudnik

comment:5 Changed 5 years ago by tobiasz.cudnik

  • Status changed from assigned to review

comment:6 Changed 5 years ago by Saare

  • Status changed from review to review_failed
  • Patch breaks the editor in pages where there's no element with an id of "description".

Changed 5 years ago by Saare

comment:7 Changed 5 years ago by tobiasz.cudnik

  • Status changed from review_failed to review

comment:8 Changed 5 years ago by garry.yao

  • Status changed from review to review_failed

Just to be sure, how about

element.tagName.toLowerCase() in CKEDITOR.dtd.head

Please always add back-ref comments to the ticket.

Changed 5 years ago by tobiasz.cudnik

comment:9 Changed 5 years ago by tobiasz.cudnik

  • Status changed from review_failed to review

DTD approach seems to be more universal, attaching updated patch.

comment:10 Changed 5 years ago by garry.yao

  • Status changed from review to review_failed

Let's inline DTD tag names for now, that would not change the footprint of ckeditor_basic.js

Changed 5 years ago by Saare

comment:11 Changed 5 years ago by Saare

  • Owner changed from tobiasz.cudnik to Saare
  • Status changed from review_failed to review

comment:12 Changed 5 years ago by garry.yao

  • Status changed from review to review_passed

comment:13 Changed 5 years ago by Saare

  • Resolution set to fixed
  • Status changed from review_passed to closed

Fixed with [6301].

Note: See TracTickets for help on using tickets.
© 2003 – 2015 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy