Like un-theme all tinymce windows using a diazo theme

I made a nice sophisticated style theme in Diazo, but I don't want the TinyMce (popup) theme for all windows.

Of course, there is a smart way to do this using the rules file. Any suggestions?

Thank's Vito

+4
source share
2 answers

The easiest way is to make sure your theme has this state:

<theme href="theme.html" css:if-content="#visual-portal-wrapper" /> 

Thus, no theme applies to anything that is not a page made using main_template (which will have a div with the identifier visual-portal-wrapper).

Martin

+4
source

The solution is to add response headers to Products.TinyMCE to disable them. See: http://pypi.python.org/pypi/plone.app.theming#disabling-the-theme-for-a-particular-view-script-or-template

+3
source

All Articles