I would just like to have some simple formatting options. Just like gmail or hotmail rich text editing.
Or even simpler, let's just say a couple of buttons like: 'bold', 'italic' and 'underline' would be enough. I assume that my users have no html skills, but they know how to do copy/paste from a word document.

The main problem I had with TinyMCE is that when people do copy/paste from a word document with a lot of formatting it shows up in the post. Although I have only allowed certain html tags (like: bold, italic), color, span, font, will also show up.....

How can I restrict TinyMCE to only do formatting on the buttons displayed (e.g. 'bold', 'italic' and 'underline') when copy/paste from MSword?

Thanks,
elLoco

Comments

codenamerhubarb’s picture

I'm having the exact same problem. When pasting from Microsoft Word the ugly fonts and colours get pasted as well.
e.g. The source code automatically turns to something like this...

<p class="MsoNormal"><span style="font-family: '24HRS','sans-serif'">Some dumb text</span></p>

I had the same problem using FCKeditor also. I've definitely restricted the tags to just these basic ones: <a> <b> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <br> <p> <dd>

Does anybody know the problem... or better, the solution?

JStarcher’s picture

Use the Safe HTML filter instead.

elLoco’s picture

Thanks for your suggestion!
I am away traveling and hope to have a look at it soon!

/elLoco

mupsi’s picture

Issue summary: View changes
Status: Active » Closed (outdated)