Ticket #6791 (closed Bug: fixed)

Opened 3 years ago

Last modified 3 years ago

[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

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

Change History

comment:1 Changed 3 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 3 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 3 years ago by fredck

Test case.

comment:3 Changed 3 years ago by fredck

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

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 3 years ago by tobiasz.cudnik

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

Changed 3 years ago by tobiasz.cudnik

comment:5 Changed 3 years ago by tobiasz.cudnik

  • Status changed from assigned to review

comment:6 Changed 3 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 3 years ago by Saare

comment:7 Changed 3 years ago by tobiasz.cudnik

  • Status changed from review_failed to review

comment:8 Changed 3 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 3 years ago by tobiasz.cudnik

comment:9 Changed 3 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 3 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 3 years ago by Saare

comment:11 Changed 3 years ago by Saare

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

comment:12 Changed 3 years ago by garry.yao

  • Status changed from review to review_passed

comment:13 Changed 3 years ago by Saare

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

Fixed with [6301].

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