tbraun89 tbraun89 - 5 months ago 45
Ruby Question

tinymce-rails set content_css

I'm developing an Rails application and using the tinymce-rails gem. In the TinyMce configuration I can normally set my main

file that is used by the editor, so it looks like the result while editing.

For my production environment I can set the
parameter to
because that is the only css file after
, is there any trick to get the same functionality in my development environment?

Answer Source

does this work for you? content_css: '<%= asset_path 'application.css' %>'