Ticket #4612 (closed New Feature: fixed)
Link text is not updated when link protocol is changed
| Reported by: | JoeK | Owned by: | m.nguyen |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 3.2 |
| Component: | General | Version: | 3.0 |
| Keywords: | IBM Review+ | Cc: | damian.chojna@… |
Description (last modified by fredck) (diff)
- Click on the Link button to open the Link dialog.
- Enter a URL, for example www.bbc.co.uk
- Choose https:// for the protocol and click OK.
- Observe that the link is displayed as https://www.bbc.co.uk
- Right click on the link and open the Link dialog.
- Update the protocol to ftp:// and click OK
- Observe that the link text remains as https://www.bbc.co.uk.
If you view the HTML source you can see that the link text has not updated:
<a href="ftp://www.bbc.co.uk">https://www.bbc.co.uk</a>
Attachments
Change History
comment:2 Changed 2 years ago by fredck
- Type changed from Bug to New Feature
- Milestone changed from CKEditor 3.1 to CKEditor 3.2
There is no bug here. It's missing feature. The fact is that the dialog doesn't look at the text when changing a link. It just assumes that the text present there is something written by the user; it could be an URL or any other kind of text.
We could consider a new feature that, in the case the link text matches the original href value, the text is also changed when updating the URL.
comment:3 Changed 2 years ago by m.nguyen
- Keywords Review? added
- Owner set to m.nguyen
- Status changed from new to assigned
Note: See
TracTickets for help on using
tickets.

