Page 1 of 1

how can i use user defined css in WYSIWYG?

Posted: Thu Feb 01, 2007 10:21 am
by pumuklee
hi
i use tinyMCE but i think this problem is the same for all WYSIWYG editors

i want to make that my css to appear when i edit the content
because by default in tinymce appears just two styles accesability and external

how can i handle this?

thanks

Re: how can i use user defined css in WYSIWYG?

Posted: Thu Feb 01, 2007 4:45 pm
by pumuklee
for tinymce i can specify some styles which i want to see when i edit a content in thsi way

style new 1 = style1
this can be set at moduls/tinymce

style new 1 is a name which will appear in the tinymce styles
style1 is the name of the style from the css file

but how can i specify a whole css file to appear in tinymce?

thanks

Re: how can i use user defined css in WYSIWYG?

Posted: Thu Feb 01, 2007 9:10 pm
by Ned Nowotny
See Tips on using TinyMCE and CSS Style Sheets.

The important point is to ensure that your style sheet has the "screen" media type selected and only that media type.