简体   繁体   中英

wrap wysiwyg editor's iframe

I'm using sceditor in one my projects, and I need to wrap the iframe with a div . However, when I do that, the content gets erased and of course I don't know why.

Can someone throw some light on why is this happening?

To test this, just go http://www.sceditor.com/ and with firebug execute this in the console

$(".sceditor-container iframe").wrap("<div class='some_class'></div>");

I've also tried to alter the source code with no luck.

SCE's CSS and js requires that everything is placed in the correct place.
Why do you need such thing?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM