Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

HTML Editor CSS URL problem

davidm1708369
Level 2
Level 2

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
Milan_Vucetic
Correct answer by
Community Advisor
Community Advisor

Hi @davidm1708369 ,

 

check if target URL is whitelisted in the serverConf.xml

 

Regards,

Milan

View solution in original post

1 Reply
Milan_Vucetic
Correct answer by
Community Advisor
Community Advisor

Hi @davidm1708369 ,

 

check if target URL is whitelisted in the serverConf.xml

 

Regards,

Milan

View solution in original post