开发者

TinyMCE remove DIVs when pasting in the editor - how?

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜