css overrule

General project discussion. NOT for help questions.
Post Reply
angels

css overrule

Post 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.
Last edited by angels on Tue Aug 16, 2005 8:08 am, edited 1 time in total.
100rk

Re: css overrule

Post 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
angels

Re: css overrule

Post 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..
BlueLaw
Forum Members
Forum Members
Posts: 42
Joined: Wed Jan 02, 2008 10:27 pm

Re: css overrule

Post 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?
racer
Forum Members
Forum Members
Posts: 14
Joined: Sun Sep 30, 2007 12:16 pm

Re: css overrule

Post 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
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: css overrule

Post by Nullig »

You should be using the "Paste as plain text" button in Tinymce, to avoid the formatting.

Nullig
Pierre M.

Re: css overrule

Post 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.
Post Reply

Return to “General Discussion”