Ticket #4520 (closed Bug: invalid)

Opened 5 years ago

Last modified 14 months ago

Need an ID on iFrame

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

Description

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

comment:1 Changed 2 years ago by j.swiderski

  • Status changed from new to confirmed

Editor has something like bodyId (http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.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 14 months ago by Reinmar

  • Status changed from confirmed to closed
  • Resolution set to invalid

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 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy