﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5792	Setting target causes link to be inserted before selected text	Litza Stark		"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:
1. Open sample (http://nightly.ckeditor.com/5551/_samples/replacebyclass.html)

2. Select ""using""

3. Click Link button

4. Enter ""google.com"" in URL field

5. Click Target tab and select ""New Window (_blank)""

6. 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."	Bug	closed	Normal		General		duplicate		
