Opened 15 years ago
Closed 15 years ago
#5792 closed Bug (duplicate)
Setting target causes link to be inserted before selected text
Reported by: | Litza Stark | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
If I set a link target using the Target tab, the URL is inserted as text (and linked) before the text selected in the editor. This behavior persists for other link insertions (even when no target is specified) even after the editor is reloaded on page refresh.
Steps to reproduce:
- Select "using"
- Click Link button
- Enter "google.com" in URL field
- Click Target tab and select "New Window (_blank)"
- Click "OK"
The source is now:
<a href="http://google.com">http://google.com</a>using
when it should be:
<a href="http://google.com">using</a>
Note: this does not happen when linking "sample text" (perhaps something to do with the tags already on the text?) or altering the link already on "CKEditor."
Tested on Chrome and Firefox, Windows Vista.
dup of #5780