Hi all,
I'm trying to find a why to coordinate the display of page classes which have their own stylesheet with the wysiwyg editing of page instances of those classes.
For example: following the tutorial I've created an ArticlePage, with it's .ss template and .php class. Following this thread (
http://www.silverstripe.org/archive/show/59153) I've adding this to my class:
function init() {
parent::init();
Requirements::themedCSS('ArticlePage');
}
which very nicely pulls in my ArticlePage.css file for my theme. But in admin mode, non of these styles are applied within the content editor, so my users will be seeing something very different from what renders.
Tinymce is clearly pulling in the themes typography.css. How can we get it to look to the page classes specific Requirements?
Cheers,
-Bill B