Opened 16 years ago
Closed 16 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.
- Open an editor instance and insert any visible image
- Switch to 'sourcearea' mode
- Switch back to 'wysiwyg' mode
- Expected: nothing changed
- Actual: image invisible, because of attribute 'src' was converted to 'url'
Attachments (1)
Change History (8)
comment:1 Changed 16 years ago by
Component: | General → Core : Output Data |
---|---|
Owner: | set to Martin Kou |
Status: | new → assigned |
comment:2 Changed 16 years ago by
Keywords: | Confirmed added |
---|
comment:3 Changed 16 years ago by
Changed 16 years ago by
Attachment: | 2772.patch added |
---|
comment:4 Changed 16 years ago by
Keywords: | Review? added |
---|
comment:5 Changed 16 years ago by
Priority: | Normal → High |
---|
comment:6 Changed 16 years ago by
Keywords: | Review+ added; Review? removed |
---|
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.