Hello Maksim.
A config will be read:
CKEDITOR.editorConfig = function( config ) {
'use strict';
console.log('CKEDITOR.editorConfig for '+$('html').attr('lang'));
// Define changes to default configuration here. For example
config.language = $('html').attr('lang');
config.uiColor = '#d2e3ef';
config.removePlugins = 'exportPdf,image,pastefromword,pastetext,paste';
config.extraPlugins = 'placeholder_select,rm_grafbutton,tabletools,tableresize,image2,maximize';
config.exportPdf_tokenUrl = ' ';
config.fullPage = true;
config.resize_enabled = false;
config.div_wrapTable = true;
config.format_div = { element: 'div', attributes: { 'class': 'normalDiv' } };
config.contentsCss = '/css/contents.css';
.....
As you can see I have announced the contents.css. But there doesn’t came a notice that this contents.css can’t be find or something.
Also in ckeditor.js I have this:
_init_ckeditor_once:function(){
'use strict';
var tid = this.config.textAreaID = 't'+webix.uid();
this.$view.innerHTML = "<textarea id='"+tid+"' >"+this.config.value+"</textarea>";
window.CKEDITOR_BASEPATH = webix.codebase+'ckeditor4.15.1/';
webix.require(webix.codebase+'ckeditor4.15.1/ckeditor.js', function(){
let barHeight = this.config.barHeight? this.config.barHeight:65;
let height = parseInt(this.config.contentHeight - barHeight);
this.config.height = this.config.contentHeight;
this._3rd_editor = CKEDITOR.replace( tid , {
parent: this.config.id,
toolbar: this.config.toolbar,
readOnly: this.config.readOnly,
placeholder_select: this.config.placeholder_select,
resize_enabled: false,
height: height,
model: this.config.model,
contentsCss: 'contents.css'
});
this._waitEditor.resolve(this._3rd_editor);
}, this);
this._init_ckeditor_once = function(){};
},
But no css will be loaded or accepted … or will give information that this css can’t be found or something… I’m at a loss…
Michael