I try to include ccs file into the ckeditor4.15.1 but it doesn’t work I use
config.contentsCss = ‘contents.css’;
I use iFrame based ckeditor!
But this will not give any react
What did I wrong? Is there any suggestion for this?
in my webix adapter for ckeditor I have also CKEDITOR.replace(…
and there I have also
{
…,
contentsCss: ‘contents.css’,
…
}
But also this give any reaction in my text container…
I have added the contentsCss , and code request the provided file, so technically it works. The contents.css is not found in my snippet, as it tries to load it from the same server where snippet located. Most probably you need to use full URI for the css.
Hello Maksim.
No, with contents.css you can style the outer ckeditor in the header but not the content inside the ckeditor iframe… But I need a possibility to predefine some html elements for p or div or tables etc… I have a config and the ckeditor predefinition: