我按照指示集成KCEditor编辑了CKEditor中的config.js文件,但是当我单击图像按钮然后单击上传选项卡时,唯一显示的是标签“发送到服务器”和蓝色按钮说“发送到服务器。“缺少浏览按钮和KCFinder演示中显示的文本框。
CKEditor文件夹和KCEditor文件夹都在\ assets \ js。
中任何帮助表示赞赏!!!
乔恩
这是config.js代码:
CKEDITOR.editorConfig = function( config )
{
config.toolbar = 'ppm';
config.toolbar_ppm = [
{ name: 'basicstyles', items : [ 'Bold', 'Italic','Underline', '-','RemoveFormat'] },
{ name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },
{ name: 'paragraph', items : [ 'NumberedList','BulletedList','-','JustifyLeft','JustifyCenter','JustifyRight' ] },
//{ name: 'styles', items : [ 'Styles','Format','Font','FontSize','TextColor' ] },
'/',
{ name: 'insert', items : [ 'Image','Flash','Link','Unlink','Anchor','-','Iframe' ] },
{ name: 'links', items : [ 'Link','Unlink','Anchor' ] },
{ name: 'tools', items : [ 'SpellChecker', 'Smiley' ] },
{ name: 'document', items : ['Source'] }
];
config.filebrowserBrowseUrl = '../kcfinder/browse.php?type=files';
config.filebrowserImageBrowseUrl = '../kcfinder/browse.php?type=images';
config.filebrowserFlashBrowseUrl = '../kcfinder/browse.php?type=flash';
config.filebrowserUploadUrl = '../kcfinder/upload.php?type=files';
config.filebrowserImageUploadUrl = '../kcfinder/upload.php?type=images';
config.filebrowserFlashUploadUrl = '../kcfinder/upload.php?type=flash';
};