Opened 9 years ago

Last modified 9 years ago

#13006 confirmed Bug

Drag and drop element with id duplicate id

Reported by: Piotr Jasiun Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:


  1. Create editor instance with the element with ID:

` <p>foo<a href="" id="link">bar</a></p> `

  1. Drag part of the link (ex. letter "a"),
  2. Drop it somewhere else (ex. after "fo", before "o").

Result: two elements with the same ID: ` <p>fo<a href="" id="link">a</a>o<a href="" id="link">br</a></p> `

Is should not be possible to duplicate ID by drag and drop. Paste event may check if there is element already element with that ID and remove "id" attribute if so.

On the other hand the same issue exists with the native drag and drop on Chrome.

Change History (1)

comment:1 Changed 9 years ago by Jakub Ś

Status: newconfirmed

This issue is related to and probably based on #6915 but of course valid.

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