You are not logged in.
Pages: 1
Hi, I've added a custom style to the editor, so that when you start editing a new page, the editor content will take the style from the css.
Im using the following command to accomplish this:
xinha_config.pageStyle = "@import url(wysiwyg.css);";
Now using this for example, works fine;
body {
background-color: red;
}
but when I for example add a class;
.myclass {
font-weight: bold;
}
and then when editing a page add a div into the page with that class
<div class="myclass">test</div>
it does not work, the text shows up regular even though I assigned it to be bold in the css.
Now there is nothing wrong with the css, I know this because it works without xinha.
Does anyone know how I can make this work?
Offline
Pages: 1