Can anybody enlighten me on this issue?
background-image in chrome does not show in edit mode; it's fine in preview mode; works on FF3 and IE7. Not sure it's caused by chrome's or ckeditor.
Strange thing is: if I change the bg-img url to: http://localhost/images/templates/bg_2.png, it will show in chrome too. Still can't figure out why absolute path without domain name does not work.
Versions: Chrome 4.1.249.1064 (45376); CKEditor 3.2.1
Code:
CKEDITOR.addTemplates('myTemplate', { templates: [{ title : 'Template Title', description: 'A template with an image background.', html : '<div style="background: #ff0 url(/images/templates/bg_2.png) no-repeat left top;">Hello world</div>' }] });