Name or id of Iframe in CKEditor
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.
Regard开发者_Python百科s
Parminder
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
精彩评论