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
BedrockMission!

Learn More

View all

Sign in to view all badges

HTML Editor CSS URL problem

Avatar

Avatar
Validate 1
Level 2
davidm1708369
Level 2

Likes

9 likes

Total Posts

15 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Shape 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
davidm1708369
Level 2

Likes

9 likes

Total Posts

15 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Shape 1
Boost 5
Boost 3
Boost 1
View profile
davidm1708369
Level 2

17-02-2020

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.

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Contributor
MVP
Milan_Vucetic
MVP

Likes

166 likes

Total Posts

384 posts

Correct Reply

135 solutions
Top badges earned
Contributor
Springboard
Shape 1
Validate 25
Validate 10
View profile

Avatar
Contributor
MVP
Milan_Vucetic
MVP

Likes

166 likes

Total Posts

384 posts

Correct Reply

135 solutions
Top badges earned
Contributor
Springboard
Shape 1
Validate 25
Validate 10
View profile
Milan_Vucetic
MVP

18-02-2020

Hi @davidm1708369 ,

 

check if target URL is whitelisted in the serverConf.xml

 

Regards,

Milan

Answers (0)