Link text is not updated when link protocol is changed
- 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>
Change History (9)
Description: |
modified (diff)
|
Milestone: |
CKEditor 3.1 →
CKEditor 3.2
|
Type: |
Bug →
New Feature
|
Keywords: |
Review? added
|
Owner: |
set to Minh Nguyen
|
Status: |
new →
assigned
|
Keywords: |
Review- added; Review? removed
|
Keywords: |
Review? added; Review- removed
|
Keywords: |
Review+ added; Review? removed
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
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.