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.
精彩评论