首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >集成ckEditor和kcFinder而不显示浏览

集成ckEditor和kcFinder而不显示浏览
EN

Stack Overflow用户
提问于 2011-10-21 05:01:21
回答 1查看 3.4K关注 0票数 0

我按照指示在CKEditor中编辑了config.js文件以集成KCEditor,但是当我单击图像按钮,然后单击Upload选项卡时,唯一显示的是标签"Send it to the server“和蓝色按钮"Send it to the server”。KCFinder演示中显示的浏览按钮和文本框丢失。

assets文件夹和KCEditor文件夹都在\assets\js中。

感谢您的帮助!

琼恩

下面是config.js代码:

代码语言:javascript
复制
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';
};
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2012-03-01 20:37:33

您可能没有进行正确的安装。Read this here,并确保您没有禁用该组件,该组件在默认情况下设置为禁用(原因在网站上解释)。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/7842197

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档