Dear friends from SO;
I'm not able to find a proper solution to give the contents of the TinyMCE editor the same styles that are used by the main css file. Not to be confused, I'm not trying to change the theme or style the UI components of TinyMCE, but the information typed on it / with it.
At this point TinyMCE solves all my needs, but still, I want the content to look the same way that it will look once published.
I tried adding: "content_css : "custom.css" but it doesn't seems to be working as expected...
<script language="javascript" type="text/javascript">
tinyMCE.init({
selector: "#issue",
theme : "modern",
mode : "textareas",
plugins : "hr, code, wordcount, image, imagetools, table, paste, template",
/*menubar: "insert,edit",*/
/*toolbar: "image,paste, hr",*/
paste_data_images: true,
content_css : "visual/css/base.css",
templates: [
{title: 'Some title 1', description: 'Some desc 1', content: 'My content'},
{title: 'Some title 2', description: 'Some desc 2', url: 'visual/mce/models/devel.html'}
]
});
</script>
Is there any way to make the content follow the CSS which is used by the main application?