wrap wysiwyg editor's iframe

狂风中的少年 提交于 2019-12-11 13:12:05

问题


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.


回答1:


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



来源:https://stackoverflow.com/questions/31994342/wrap-wysiwyg-editors-iframe

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!