Opened 8 years ago
Closed 8 years ago
#40893 closed defect (bug) (fixed)
TinyMCE: prevent warnings about missing stylesheets
Reported by: | azaozz | Owned by: | azaozz |
---|---|---|---|
Milestone: | 4.8 | Priority: | normal |
Severity: | normal | Version: | 4.8 |
Component: | TinyMCE | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
It appears that some themes still try to load fonts from Google where the URLs have unencoded commas. That breaks this functionality in TinyMCE as it splits multiple URLs on commas and tries to load the fragments.
The difference is that the latest TinyMCE shows warnings in the UI when a stylesheet fails to load.
Attachments (2)
Change History (6)
This ticket was mentioned in Slack in #core by jeffpaul. View the logs.
8 years ago
#3
@
8 years ago
- Keywords has-patch commit added
+1 for 40893.patch, after changing $editor_styles[$key]
to $editor_styles[ $key ]
and adding a full stop to the comment.
Note: See
TracTickets for help on using
tickets.
In 40893.patch: force the urlencoding of commas in the URLs that are passed to the
content_css
TinyMCE setting.