Ticket #5874 (closed Bug: duplicate)
Adding anchor tag deletes related content selection
| Reported by: | kamelkev | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | 3.3.1 |
| Keywords: | Cc: |
Description
Long standing bug, people have been complaining about it on the forum since January.
General synopsis of problem with at least Firefox:
- Make a selection of some type of content within your document. 2. Click anchor in the toolbar, initiating an "apply anchor tag" to the selected content.
- enter the anchor tag name
- submit the form.
Upon submitting the form the selected content will be purged from the document. They literally are removed. Images, text are both affected.
Video to see reproduction of bug on firefox here: http://www.youtube.com/watch?v=CJgSFgko6BQ
Thread on forum: http://cksource.com/forums/viewtopic.php?f=11&t=17220
Change History
Note: See
TracTickets for help on using
tickets.

Currently we support collapsed anchors only. So, inserting anchors work just like images. There is no need to select the text first, otherwise it gets replaced by the anchor.
The support for anchors with contents is required at #3582, so I'm marking this one as a dup of it.