Opened 11 years ago

Last modified 11 years ago

#10436 confirmed Bug

Duplicate ids when shared space is used

Reported by: Karen Ananiev Owned by:
Priority: Normal Milestone:
Component: General Version: 4.1
Keywords: Cc:

Description

  • Add div with id "someElementId" to the page
  • Add to config
config.sharedSpaces = {top: 'someElementId'};

to move toolbar to the shared space.

  • Inspect the page with developer tools/firebug - the toolbar and main editor element have the same id (cke_{name}).

Attachments (2)

doubleId.png (55.0 KB) - added by Jakub Ś 11 years ago.
replacebycode.html (1.7 KB) - added by Jakub Ś 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by Jakub Ś

Attachment: doubleId.png added

Changed 11 years ago by Jakub Ś

Attachment: replacebycode.html added

comment:1 Changed 11 years ago by Jakub Ś

Status: newconfirmed
Version: 4.1.14.1

Use attached sample to reproduce and don't forget to use config.sharedSpaces = {top: 'someElementId'}; in config.js. With Firebug you will notice same ids (see attached image).

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