Page 1 of 1

css overrule

Posted: Tue Aug 16, 2005 7:35 am
by angels
Hi i'm playing with the tinyMCE editor, But i got some little problems because I never worked with java script.

1: When i copy/paste some tekst from a other editor, take MS Word for example, then it takes over the tekst style in my CMS. How can i disable this? So when somebody copy/paste a tekst with the font TAHOMA then i dont want it in my code. I just want it clean and that people only can use the styles i define in the stylesheet.

Hope you can help me, I couldn't find it in documentation.

Re: css overrule

Posted: Tue Aug 16, 2005 7:55 am
by 100rk
angels wrote: 1: I want to remove some buttons in the editor how can i do this?
Similar topic on this forum: http://forum.cmsmadesimple.org/index.ph ... 427.0.html

Re: css overrule

Posted: Tue Aug 16, 2005 8:10 am
by angels
I found that, but the second question is a bit harder.. My CSS wont overrule those font tags what he puts in there if i paste tekst from an text editor..

Re: css overrule

Posted: Tue Apr 29, 2008 2:39 am
by BlueLaw
Hello.

Was this ever resolved, I'm having the exact same problem.

I don't want the fonts and spacing used in a word document to be pasted into my website. I want my CSS styles to overrule tinyMCE.

Clearly people know how to do this, must be something simple or there'd be more posts...

Any one have the answer?

Re: css overrule

Posted: Sat May 03, 2008 2:11 pm
by racer
BlueLaw wrote: Hello.

Was this ever resolved, I'm having the exact same problem.

I don't want the fonts and spacing used in a word document to be pasted into my website. I want my CSS styles to overrule tinyMCE.

Clearly people know how to do this, must be something simple or there'd be more posts...
its actually very simple, NEVER copy text from a Word document because it also copies all the formatting information.  either save those DOC's as plain text files, or copy them into Notepad first, and then recopy from there to tinyMCE.

There's nothing that can be done on the tinyMCE side, this is a common "problem" copying from Word into just about any editor.

-r

Re: css overrule

Posted: Sat May 03, 2008 3:30 pm
by Nullig
You should be using the "Paste as plain text" button in Tinymce, to avoid the formatting.

Nullig

Re: css overrule

Posted: Tue May 06, 2008 12:49 pm
by Pierre M.
Hello,

there is a "paste from MS Word" feature in TinyMCE. In admin, extensions, tinyMCE basic, clic on the toolbar tab. Then try to  add "pasteword" after "paste,pastetext". I don't know how efficient it is though.

Pierre M.