Opened 15 years ago

Closed 15 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 15 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 15 years ago by Martin Kou

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

comment:2 Changed 15 years ago by Artur Formella

Keywords: Confirmed added

comment:3 Changed 15 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 15 years ago by Martin Kou

Attachment: 2772.patch added

comment:4 Changed 15 years ago by Martin Kou

Keywords: Review? added

comment:5 Changed 15 years ago by Martin Kou

Priority: NormalHigh

comment:6 Changed 15 years ago by Frederico Caldeira Knabben

Keywords: Review+ added; Review? removed

comment:7 Changed 15 years ago by Martin Kou

Resolution: fixed
Status: assignedclosed

Fixed with [2930].

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