Opened 9 years ago

Last modified 9 years ago

#5942 confirmed Bug

Link plugin not registering a selected link when <br> is inside <a>

Reported by: David Owned by:
Priority: Normal Milestone:
Component: UI : Dialogs Version:
Keywords: Cc:

Description (last modified by Tobiasz Cudnik)

The link plugin is not registering a selected link when a <br> is inside an <a>, which the editor sometimes creates by itself.

To replicate: http://nightly.ckeditor.com/5649/_samples/replacebyclass.html

  • press Enter at end of line
  • click the Link button
  • create a link (e.g. www.google.com)
  • click OK
  • click link button again, it will work
  • click OK
  • click link button again, there will be nothing in the URL field
  • you also then can't right click the link and edit it.

If that doesn't reproduce the problem, try adding a <br> to the <a> element manually, e.g. using Firebug.

Firefox 3.6.6, Mac OS X 10.6.3

Change History (2)

comment:1 Changed 9 years ago by Tobiasz Cudnik

Component: GeneralUI : Dialogs
Description: modified (diff)
Keywords: Confirmed added

I'm able to reproduce it using following steps, but in my case there isn't any BR.

comment:2 Changed 9 years ago by David

If you add a <br> manually, does it replicate the problem? It does for me...

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