Reputation: 3158
I am trying to create a plugin for CKEditor. As ckeditor creates Iframe for each textarea we want to convert as rich text editor, I want to know the name or id of that iframe. How would I get it.
Help will be appreciated.
Regards
Parminder
Upvotes: 1
Views: 2023
Reputation: 12690
If you use Firebug you'll see that the iframe doesn't have an id or name. Instead you should get the editor.document.$
and move from that point, for example editor.document.$.defaultView.frameElement
Upvotes: 2