Opened 16 years ago
Last modified 16 years ago
#4001 closed Bug
Using the link button on an image produces incorrect HTML code, and it doesn't work — at Version 4
| Reported by: | Andy | Owned by: | Garry Yao |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 3.0 |
| Component: | Core : Styles | Version: | |
| Keywords: | Confirmed Review+ | Cc: |
Description (last modified by )
Bug in CKEditor (Nightly Build Revision 3936) OS: Windows XP Browser: Mozilla Firefox 3.5.1 (also tested in Google Chrome - same problem)
Here's what I did:
- I put a photo in the editor.
- I clicked on the photo.
- I clicked on the link button.
- I entered the target URL and clicked OK.
- I hit the SOURCE button to check the code.
Instead of generating <a href="http://targeturl"> code, it generates something like this: <img href="http://targeturl" ... >
This happened in both the downloaded version on our test server, as well as your online demo.
Change History (5)
comment:1 Changed 16 years ago by
| Component: | General → Core : Styles |
|---|---|
| Keywords: | Confirmed added |
| Milestone: | → CKEditor 3.0 |
comment:2 Changed 16 years ago by
| Owner: | set to Garry Yao |
|---|---|
| Status: | new → assigned |
Changed 16 years ago by
| Attachment: | 4001.patch added |
|---|
comment:3 Changed 16 years ago by
| Keywords: | Review? added |
|---|
comment:4 Changed 16 years ago by
| Description: | modified (diff) |
|---|

We should have it behavioring the same with v2.