Reputation: 1201
I made a nice complex style theme in Diazo, but I don't want to theme all the TinyMce (popup) windows.
Surely there is a clever way to make it using the rules file. Any suggestions?
Thank's Vito
Upvotes: 4
Views: 511
Reputation: 2999
The solution here is to add response headers to Products.TinyMCE to switch off theming. See: http://pypi.python.org/pypi/plone.app.theming#disabling-the-theme-for-a-particular-view-script-or-template
Upvotes: 3
Reputation: 3548
The easiest way is to make sure your theme has a condition like this:
<theme href="theme.html" css:if-content="#visual-portal-wrapper" />
This way, no theme is applied to anything that isn't a page rendered with main_template (which would have a div with id visual-portal-wrapper).
Martin
Upvotes: 4