Opened 10 years ago

Last modified 10 years ago

#11481 confirmed Bug

Multiple Link insert cause missing ID

Reported by: hgdien Owned by:
Priority: Normal Milestone:
Component: General Version: 4.0
Keywords: Cc:


Steps to reproduce:

  • Insert 3 links on the page, which URL "" and Id: 1,3,3.
  • Double click on the inserted links to check the Ids, only the first link Id is retained, all other links after that have empty Id.

Browser and OS: Window Firefox 26.0 & Chrome 32.0.1

Change History (5)

comment:1 Changed 10 years ago by Jakub Ś

Resolution: invalid
Status: newclosed
Version: 4.3.2

Element id has to be unique in HTML document

This editor behaviour is correct.

comment:2 Changed 10 years ago by hgdien

The same bug happened even if element id for each link is unique. Tested with CKEditor full demo.

comment:3 Changed 10 years ago by Piotrek Koszuliński

Resolution: invalid
Status: closedreopened

comment:4 Changed 10 years ago by Piotrek Koszuliński

Status: reopenedconfirmed

I confirm this issue with the exact step described. Only the first link has id. The other don't, even though ids are unique.

comment:5 Changed 10 years ago by Jakub Ś

Version: 4.0

Sorry for not checking this the way it should be checked.

  1. Problem can be reproduced from CKEditor 4.0 (in every browser)
  2. In CKEditor 4.0 beta and 3.x there was no id filtering users were allowed to insert multiple elements with same id.

Should editor prevent such practices (sounds like an idea for plugin or ACF or HTML data filter or Advanced Dialog Tab extension) or should we leave it to the users?

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy