Hi,
I am having issues with applying external CSS styles on teh HTML tags/ content placed inside the CKEditor.
In my config.js I have added the code
baseURL = "http://" + location.host + "/myhome/";
config.contentsCss = [baseURL + 'assets/css/style_en.css'];
It applies most of the styles but in an inconsistent manner e.g. inner divs don't inherit the proper styles set in the .css files but rather it only inherits the styles of the parent <body> tag. Is that a bug?
Tue, 08/17/2010 - 10:35
#1
Re: CSS Style issues in CKEditor 3
Re: CSS Style issues in CKEditor 3
Here is the main page that applies the same CSS that I use for CKEDITOR
When I try to load a div of the page in the CKEDITOR it applies some of the styles but misses quite a few e.g. background color of the div. Here is the div content loaded in CKEDITOR (notice how the background color of the DIV has not been applied inside CKEDITOR).
Here is the HTML and CSS code of the page:
Attachments: