Products.cmfplone: plone-logged-in contains tinymce styles

Created on 28 May 2018  路  2Comments  路  Source: plone/Products.CMFPlone

BUG/PROBLEM REPORT (OR OTHER COMMON ISSUE)

What I did:

Install a fresh Plone 5.1.2 site. Add my own add-on.

In the add-on, add a bundle that contains css.

<records prefix="plone.bundles/my-css-bundle"
           interface='Products.CMFPlone.interfaces.IBundleRegistry'>
    <value key="enabled">True</value>
    <value key="compile">True</value>
    <value key="depends">plone</value>
    <!-- other configs -->
</records>

The CSS files include these lines, for example:

body {
    font-family: 'Titillium Web', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.5;
    color: #1c2024;
    background-color: #fff;
}

What I expect to happen:

I expected the site font to be set by my styles

What actually happened:

The body font is set by a css file that was previously only added in the tinymce frames. From a quick check of the repo history, it appears that since Plone 5.1.1 this file is cooked into the plone-logged-in bundle by default.
I have a Plone 5.1rc2 site in production and it's not included there, upgrading to Plone 5.1.1 or Plone 5.1.2.1 would break the site styles with this change.

What version of Plone/ Addons I am using:

Products.CMFPlone 5.1.2.1

bug

Most helpful comment

I think this is related to https://github.com/plone/mockup/issues/838 ... maybe you want to watch progress there

All 2 comments

I think this is related to https://github.com/plone/mockup/issues/838 ... maybe you want to watch progress there

fixed and merged here #2471

Was this page helpful?
0 / 5 - 0 ratings