开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜