If I'm not posting in the right place I apologize upfront. I'm using Drupal 7.0 configuring on my local machine in an XAMPP install. I installed the wysiwyg module and have tinyMCE as the editor for the full HTML profile. I find the place in the configuration screen to select to use the default theme in the TinyMCE content pane. That didn't work. Then I created editor.css to hold only those tag formatting elements that the users will be able to use from within TinyMCE. I pointed directly to that file three ways (not sure what was going to work from the admin overlay)

sites/themes/bartik/css/editor.css
/sites/themes/bartik/css/editor.css
http://localhost/asbestosti/sites/themes/bartik/css/editor.css

I'm guessing I'm missing something really simple but I've no idea what.

I'm using a copy of the bartik theme because I had to tweak colors more than the interface would let me.

Thanks in advance for any help.
Kristin

Comments

twod’s picture

Did you make sure the "Editor CSS" setting is set to "Define CSS"?

EDIT: Btw, you can use Firebug for Firefox - or a similar tool - to see each HTTP request made by the browser (clear cache first), there you should be able to see which path actually ends up being used to request the stylesheet you entered under "CSS path". If the path is incorrect, it should stand out with a 404 return code.

sun’s picture

Status: Active » Closed (cannot reproduce)

Sorry, without further information this issue can only be closed as not reproducible.

Feel free to re-open this issue if you want to provide further information. Thanks.

boran’s picture

Status: Closed (cannot reproduce) » Active

Sorry to repen this issue, but I too have tinymce 3.5b2 +wysiwyg2.1.

The font in the editor is too smal and I can see in firebug that it is pulling in he bondy font-size from
/sites/all/libraries/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/content.css
even though "use theme css" is selected in the profile.

Also tried setting "Defined CSS" to "%b%t/css/myfile.css", but no luck.

twod’s picture

Status: Active » Fixed

Yes, TinyMCE automatically puts a content.css file in there, to make the contents work better with that editor theme, I believe.
You should be able to override anything set on the body tag in the editing area from within your own styesheets using a more specific selector, such as body.mceContentBody, or perhaps just #tinymce.
Naturally, targeting the mceContentBody class and/or the #tinymce id will also avoid modifying the body element on the rest of your site if you're using the "Use theme CSS" option.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

webservant316’s picture

Issue summary: View changes

struggling with this today and worked out a solution here https://www.drupal.org/node/2496649.