TinyMCE - when you copy and paste in TinyMCE the past is wrapped around DIV tags. Anyone know how to disable that? I don't see the need for DIV tags, s开发者_开发技巧o I'm not sure why TINYMCE adds them? And there is no mention in the docs.
Thanks
http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/paste
Usually, all textual content is wraped inside paragraphs - not divs.
Are you talking about additional divs inside paragraphs? In that case you might be able to use paste_preprocess to cut it off yourself. A second option could be to use the paste_postprocess option to remove it.
精彩评论