Opened 15 years ago

Closed 11 years ago

#4520 closed Bug (invalid)

Need an ID on iFrame

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


We are trying to use a third party spell check program in congunction with the CKeditor. The spell check requires that we pass the ID of the iFrame the editor runs in. When I examine the generated HTML I see there is no ID on the iFrame. Is there a way to set an ID that we may then use?

Change History (2)

comment:1 Changed 12 years ago by Jakub Ś

Status: newconfirmed

Editor has something like bodyId ( - I'm not sure if this isn't enough in your case.

Nevertheless if the only thing that this spellchecker needds is iframe id then CKEditor should provide some sort of the hook. CKEditor could generate random id for iframe but it would also have to provide some read-only property which is available on instance basis E.g. editor.iframeId.

comment:2 Changed 11 years ago by Piotrek Koszuliński

Resolution: invalid
Status: confirmedclosed

The editor's iframe element is easily accessible from editor.window.getFrame() so it can be passed to the spell check program. However, if it requires id and it cannot work with element, then it is this program's problem. CKEditor cannot assign IDs to every element on the page. This ticket should never be confirmed.

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