开发者

How un-theme all the tinymce windows using a diazo theme

I made a nice complex style theme in Diazo, but I don't want to theme all the Tiny开发者_开发知识库Mce (popup) windows.

Surely there is a clever way to make it using the rules file. Any suggestions?

Thank's Vito


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


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜