Opened 9 years ago

Closed 9 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:

  1. Open sample (http://nightly.ckeditor.com/5551/_samples/replacebyclass.html)
  1. Select "using"
  1. Click Link button
  1. Enter "google.com" in URL field
  1. Click Target tab and select "New Window (_blank)"
  1. 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.

Change History (1)

comment:1 Changed 9 years ago by Alfonso Martínez de Lizarrondo

Resolution: duplicate
Status: newclosed

dup of #5780

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy