Opened 11 years ago
Last modified 11 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: |
Description
Steps to reproduce:
- Insert 3 links on the page, which URL "www.google.com" 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 11 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Version: | 4.3.2 |
comment:2 Changed 11 years ago by
The same bug happened even if element id for each link is unique. Tested with CKEditor full demo.
comment:3 Changed 11 years ago by
Resolution: | invalid |
---|---|
Status: | closed → reopened |
comment:4 Changed 11 years ago by
Status: | reopened → confirmed |
---|
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 11 years ago by
Version: | → 4.0 |
---|
Sorry for not checking this the way it should be checked.
- Problem can be reproduced from CKEditor 4.0 (in every browser)
- 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?
Element id has to be unique in HTML document http://www.w3schools.com/tags/att_global_id.asp.
This editor behaviour is correct.