开发者

Name or id of Iframe in CKEditor

开发者 https://www.devze.com 2023-02-13 16:06 出处:网络
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.

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

精彩评论

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