我实际上正在使用CKEditor 4完整软件包。
试图使我的config.js工作正常...
这是我的一部分代码:
/**
* @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.editorConfig = function( config ) {
// Define changes to default configuration here. For example:
config.language = 'fr';
config.uiColor = '#E6F7FF';
config.toolbar = 'POIPOI';
};
CKEDITOR.config.toolbar_POIPOI = [
{ name: 'annulations', items : ['Undo','Redo'] },
{ name: 'presse-papier', items : ['Cut','Copy','Paste'] },
{ name: 'styles', items : ['Bold', 'Italic', 'Subscript', 'Superscript', 'RemoveFormat'] },
{ name: 'liens', items : ['Link', 'Unlink'] },
{ name: 'blocs', items : [ 'Blockquote', 'BulletedList', 'Table'] },
{ name: 'outils', items : ['Source'] }
];
CKEDITOR.config.allowedContent = true;
请问这个文件怎么了?
将尝试添加自定义配置文件。但是,如果有人知道配置文件的解决方案?