开发者

jwysiwyg remove formatting for copy and pasting

I've got an instance of jWysiwyg running on a site I'm building for a local sports club. The issue I've got is that whenever you copy and paste something into the editor, it copies over the formatting from wherever you've copied it.

This means that sometimes it'll surround the copy with <p> or sometimes <div class="JUSTIFY">. The i开发者_开发百科ssue is that it messes with the formatting when it's viewed. Basically I just want to let the users put things in bold or italics.

Is there a way to remove the formatting of pasted text?


Did you try out the rmFormat plugin? There's a live demo (src), too.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜