Opened 14 years ago
Last modified 10 years ago
#8097 confirmed Bug
URL is applied incorrectly when the selection contains an anchor
Reported by: | Teresa Monahan | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Styles | Version: | 3.0 |
Keywords: | IBM | Cc: | Damian, Satya Minnekanti |
Description
When we try to apply a new link to a selection that already contains an anchor, the url for the anchor does not get updated with the new url value.
To reproduce this issue:
- Open any sample from the nightly build and enter the following in the source tab
<p> text goes here <a href="http://ckeditor.com">URL goes here</a> More text goes here</p> <p>
- Switch back to wysiwyg mode and select all the text.
- Click on the 'Link' icon and specify a url in the link dialog. Click OK.
Expected Result: The new URL value gets applied to the entire text including the anchor node.
Actual Result: The original anchor still has its old url value, while the new url value is applied to the text before and after it.
Change History (4)
comment:1 Changed 14 years ago by
Status: | new → confirmed |
---|
comment:2 Changed 13 years ago by
Version: | 3.6.2 (SVN - trunk) → 3.0 |
---|
comment:3 Changed 10 years ago by
Component: | General → Core : Styles |
---|
comment:4 Changed 10 years ago by
See also #8368 where an additional case with an empty <strong>
is mentioned.
Reproducible in all browsers from CKEditor 3.0.