#4060 closed Bug (invalid)
Link dialog should not edit anchor
Reported by: | Garry Yao | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | UI : Dialogs | Version: | |
Keywords: | Cc: |
Description
When open link dialog on anchor, it should generate a link around the anchor instead of change the anchor element itself.
Reproducing Procedures
- Open the "replace by class" page,insert an anchor;
- Click the anchor and open link dialog;
- Fill the url field and click OK;
- Actual Result: Javascript error thrown.
Change History (4)
comment:1 Changed 16 years ago by
Milestone: | CKEditor 3.0 → CKEditor 3.1 |
---|---|
Priority: | High → Normal |
comment:2 Changed 16 years ago by
It should be possible to have a link that it's also an anchor (that's it: it has both href and name or id). Footnotes are an example of this behavior (paste some text from word to check it), it provides a way to go to the explanation in the footnote, and a way to return back to the place where it's being used.
This behavior was possible in 2.x and I don't see any reason to forbid it in 3.x
The current behavior of anchors in 3.x is already crippled enough, please, don't make it impossible to use features that did work.
comment:3 Changed 16 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Throwing error problem probably been fixed by recent changes, and the functionality should be what we have currently with v2 as alfonsoml described, so the bug is invalid.
comment:4 Changed 16 years ago by
Milestone: | CKEditor 3.1 |
---|
There is no way to have a link around an anchor, as an anchor is a link after all. We may not have errors though, and the link is supposed to "replace" the anchor in this case.