Ticket #13812 (new Bug)

Opened 2 years ago

Last modified 20 months ago

TinyMCE and external css resource in portal_css

Reported by: petschki Owned by:
Priority: minor Milestone: 4.x
Component: Visual Editor Version: 4.3
Keywords: TinyMCE, css Cc:

Description

If you have an external CSS resource in your portal_css registry (for example google fonts) with cookable=False and cacheable=False TinyMCE styles are broken, because the external url is placed as is in /portal_tinymce/@@tinymce-getstyle:

http://fonts.googleapis.com/css?family=Wellfleet
<!-- @import url(http://localhost:8080/Plone/portal_css/Sunburst%20Theme/++resource++plone.app.multilingual.stylesheet/multilingual.css); -->
<!-- @import url(http://localhost:8080/Plone/portal_css/Sunburst%20Theme/carousel.css); -->
<!-- @import url(http://localhost:8080/Plone/portal_css/Sunburst%20Theme/reset.css); -->
<!-- @import url(http://localhost:8080/Plone/portal_css/Sunburst%20Theme/member.css); -->

Change History

comment:1 Changed 20 months ago by cwainwright

  • Component changed from Unknown to Visual Editor
Note: See TracTickets for help on using tickets.