Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#10316 closed Bug (invalid)

Inline edit mode looks for contents.css

Reported by: giammin Owned by:
Priority: Normal Milestone:
Component: General Version: 4.1
Keywords: Cc:

Description

When opening the styles combobox in inline editor besides styles.js , contents.css is requested too.

The bugs are 2: 1-contents.css should not be called in inline edit mode. 2-if i set a different contentsCss:'mycontents.css' the default 'contents.css' is called

Change History (6)

comment:1 Changed 7 years ago by giammin

to reproduce:

go there http://nightly.ckeditor.com/13-04-10-14-51/full/samples/inlinebycode.html

open chrome developer tools and go to network tab

click on the style combo of the editor

Then you can see in the network tab that styles.js and contents.css are loaded

comment:2 Changed 7 years ago by Piotrek Koszuliński

The 2 is definitely a bug (although I haven't checked it yet), but 1 is not. The contents.css is loaded to style iframes used in drop down menus. This allows to present styles from styles.js and formats like they would look in the content.

comment:3 Changed 7 years ago by giammin

Resolution: invalid
Status: newclosed

comment:4 Changed 7 years ago by Jakub Ś

I have tried setting contentCss in instance configuration and in config.js. In both cases editor was looking for new file. Issue 2 isn't reproducible.

comment:5 Changed 7 years ago by giammin

Yes, I know, sorry. I've already set this as invalid

comment:6 Changed 7 years ago by Piotrek Koszuliński

NP :) We just wanted to check whether you haven't closed it to early :).

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy