Expand my Community achievements bar.

SOLVED

HTML Editor CSS URL problem

Avatar

Level 3

I am trying to load an HTML file into the HTML editor. The HTML has a CSS  similar to 

@Font-face {
font-family: 'FONT-Light';
src: url('https://www.xxx.com/font-Light.eot');
src: url('https://www.xxx.com/font-Light.ttf') format('truetype'), url('https://www.xxx.com/font-Light.woff') format('woff');
font-weight: 400;
font-style: normal;
}

within the <style type="text/css">     </style> section

which directs to some special fonts but the Editor throws an error

 

davidm1708369_1-1581947262342.png

 

Any ideas?  If I use Chrome to go to the URL, the font is automatically downloaded.

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @davidm1708369 ,

 

check if target URL is whitelisted in the serverConf.xml

 

Regards,

Milan

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @davidm1708369 ,

 

check if target URL is whitelisted in the serverConf.xml

 

Regards,

Milan