Opened 11 years ago
Last modified 8 years ago
#11791 review Bug
Can't change target anchor using id selector (in link dialog) — at Version 1
Reported by: | Marek Lewandowski | Owned by: | |
---|---|---|---|
Priority: | Nice to have (we want to work on it) | Milestone: | |
Component: | General | Version: | 4.0 |
Keywords: | Cc: |
Description (last modified by )
Can't change target anchor using id selector (in link dialog)
- open any sample with CKEditor (i.e. samples/replacebyclass.html)
- use following source
<p>Fancy link</p> <p> </p> <p><a id="a1" name="a1"></a></p> <p><a id="a2" name="a2"></a></p>
- go back to wysiwyg mode
- make following selection in first paragraph
Fancy [link]
- apply link using a Link button
- change Link Type to " Link to anchor in the text"
- in "By Element Id" select set value to: "a1"
- click OK
- open once more link dialog using a button
- change the value of "By Element Id" to "a2"
- click OK
- open link dialog once more
Expected result:
"By Element Id" value should be changed to a2
Current result:
"By Element Id" stays with previous value
additional info:
- I've checked in 4.3.0 and it stills occur there (didn't check any earlier versions) so it's not a recent regression