Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#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

  1. Open the "replace by class" page,insert an anchor;
  2. Click the anchor and open link dialog;
  3. Fill the url field and click OK;
    • Actual Result: Javascript error thrown.

Change History (4)

comment:1 Changed 15 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 3.0CKEditor 3.1
Priority: HighNormal

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.

comment:2 Changed 15 years ago by Alfonso Martínez de Lizarrondo

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 15 years ago by Garry Yao

Resolution: invalid
Status: newclosed

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 15 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 3.1
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy