Opened 11 years ago

Last modified 11 years ago

#10331 confirmed Bug

inline css images not displayed in Chrome

Reported by: Juerg Anderegg Owned by:
Priority: Normal Milestone:
Component: General Version: 4.0 Beta
Keywords: Chrome Cc:


I've noticed that background images in chrome are not displayed in CKEditor 4.1 if you enter them as absolute paths:

<div style="background-image: url('/images/test.jpg') => won't display on Chrome


<div style="background-image: url('') will display on Chrome.

It works on Firefox and Safari

AND: It also works on Chrome using CKEditor 3.x...

Change History (2)

comment:1 Changed 11 years ago by Anna Tomanek

For the reference, this was also reported and discussed on the community forum:

comment:2 Changed 11 years ago by Jakub Ś

Keywords: Chrome added
Status: newconfirmed
Version: 4.14.0 Beta

I can confirm this is happening only in Chrome from CKEditor 4 beta (It works in CKE 3.x).

Below code won't work in in Chrome. I can't even see image getting called in Chrome network tab.

<div style="background-image: url('./assets/sample.jpg'); width:200px; height:200px;">aa</div>
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy