Opened 11 years ago

Closed 11 years ago

#2772 closed Bug (fixed)

[IE]core:htmlparser incorrectly convert image attr 'src' to 'url'

Reported by: Garry Yao Owned by: Martin Kou
Priority: Must have (possibly next milestone) Milestone: CKEditor 3.0
Component: Core : Output Data Version: SVN (FCKeditor) - Retired
Keywords: Confirmed Review+ Cc:

Description

This bug cause image invisible when switching between two modes,witness on IE7.

  1. Open an editor instance and insert any visible image
  2. Switch to 'sourcearea' mode
  3. Switch back to 'wysiwyg' mode
    • Expected: nothing changed
    • Actual: image invisible, because of attribute 'src' was converted to 'url'

Attachments (1)

2772.patch (981 bytes) - added by Martin Kou 11 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 11 years ago by Martin Kou

Component: GeneralCore : Output Data
Owner: set to Martin Kou
Status: newassigned

comment:2 Changed 11 years ago by Artur Formella

Keywords: Confirmed added

comment:3 Changed 11 years ago by Martin Kou

The fault comes from the image dialog instead of from the HTML output system. The dialog's .js file used _cke_saved_url to save the image's src attribute, the URL protection logic in WYSIWYG area plugin then correctly truncates that to "url". The .js file should use _cke_saved_src instead.

Changed 11 years ago by Martin Kou

Attachment: 2772.patch added

comment:4 Changed 11 years ago by Martin Kou

Keywords: Review? added

comment:5 Changed 11 years ago by Martin Kou

Priority: NormalHigh

comment:6 Changed 11 years ago by Frederico Caldeira Knabben

Keywords: Review+ added; Review? removed

comment:7 Changed 11 years ago by Martin Kou

Resolution: fixed
Status: assignedclosed

Fixed with [2930].

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