Ticket #839 (closed defect: fixed)
Impossible to remove link from linker plugin when original selection is kept
| Reported by: | mokhet | Owned by: | gogo |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Plugin_Linker | Version: | |
| Severity: | major | Keywords: | remove link |
| Cc: |
Description
The button "remove link" in linker plugin is not removing links if the whole <a> is selected.
step to reproduce :
0) Linker plugin obviously activated
1) write some text : Lorem ipsum dolor si amen
2) double click on a word to select (let's do it on the word "ipsum")
3) the word is selected, now click on the linker button in toolbar
4) click on OK button, no matters to what it is linked
5) the inline linker dialog is closed, the word is now a link.
6) click again on the linker button in toolbar - do not change the active selection -
7) click on "remove link" button
8) the inline linker dialog is closed and the word is still a link
Expected result :
step 8 should remove the previously defined link
Workaround :
before step 6, the selection must be canceled and the link must NOT be selected at all to be removed
With standard link button, when the href attribute is removed from the dialog box, the link is correctly removed even when it was selected.
