|
|
@ -18,7 +18,8 @@ CKEDITOR.editorConfig = function( config ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
config.toolbarCanCollapse = false;
|
|
|
|
config.toolbarCanCollapse = false;
|
|
|
|
config.scayt_autoStartup = true;
|
|
|
|
//config.scayt_autoStartup = true;//打开自动语法检查
|
|
|
|
|
|
|
|
//config.scayt_sLang = 'de_DE'; //语法检查语言
|
|
|
|
//config.enterMode = CKEDITOR.ENTER_BR;
|
|
|
|
//config.enterMode = CKEDITOR.ENTER_BR;
|
|
|
|
config.allowedContent = true;
|
|
|
|
config.allowedContent = true;
|
|
|
|
config.toolbarGroups = [
|
|
|
|
config.toolbarGroups = [
|
|
|
@ -75,3 +76,7 @@ CKEDITOR.editorConfig = function( config ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
//禁止删除空元素
|
|
|
|
|
|
|
|
$.each(CKEDITOR.dtd.$removeEmpty, function (i, value) {
|
|
|
|
|
|
|
|
CKEDITOR.dtd.$removeEmpty[i] = false;
|
|
|
|
|
|
|
|
});
|
|
|
|