1
votes

I am using content_css to link to all my css for my site.

This works and the content in the tiinyMce editor window is styled as per the css files.

My site has a header, content, footer layout and i apply specific styles to links in the content section like so...

.contentWrapper a { background: url ... etc

So these styles are not applied in the editor window as the links are not in a div with a class of contentWrapper.

I know i can create another css file and apply these styles directly to a tags in there and only reference it for tinyMCE but this would duplicate my site css.

is there anyway i can specify something like .tinyMce a { .. or something?

2

2 Answers

0
votes

Eighter you duplicate your css or you will need to load a second stylesheet with the diff.

0
votes

TinyMce hosts the editor in a iframe, I do not think you have a choice here. in order to affect the editor, you must load the css into the iframe.