- Issue created by @flyke
When using this module and CKeditor5 you get the following notice in your browser console when ckeditor is opened when you edit something:
ckeditor5.js?rpuymr:112 Stylesheet https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap not included in CKEditor reset due to the browser's CORS policy.
Add crossorigin: anonymous to the offcanvas-font library.
Change:
//fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap: { type: external, minified: true }
Into:
//fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap: { type: external, minified: true, attributes: { crossorigin: anonymous }}
Active
2.0
Code