Skip to main content
Level 1
feb 25, 2026 4:40 p. m. UTC
Resuelto

Loading font hosted on Marketo blocked by CORS

We’re implementing Knak as a pagebuilder for Marketo. The final pages will be synced and hosted on Marketo, but they are built on Knak. Knak allows you to load fonts via a CSS file with @font-face, but when trying to load those fonts we get a CORS error because it’s Knak’s domain trying to load the fonts.

Is there any way to change CORS policy on Marketo to allow certain domains to load fonts? The pages will ultimately be hosted on our Marketo domain so it shouldn’t be an issue then, but we need to get them to show in the pagebuilder in the meantime.

Este tema ha sido cerrado para respuestas.
SanfordWhiteman
User Group Leader
feb 26, 2026 8:47 p. m. UTC

See here: 

 

2 respuestas

SanfordWhiteman
User Group Leader
User Group Leader
feb 25, 2026 9:09 p. m. UTC

You cannot change the CORS policy. However, there is a way to accomplish this using cross-window messaging. I’ll add it to the blog next week.

Traducir
SanfordWhiteman
User Group Leader
User Group Leader
feb 26, 2026 8:47 p. m. UTC

See here: 

 

Traducir