如题,我想去掉编辑器中的保存等按钮。
请问如何操作。

解决方案 »

  1.   

    http://dev.ckeditor.com/ticket/3357
    看看这个文章
      

  2.   

    http://download.cksource.com/CKEditor/CKEditor/CKEditor%203.3.1/ckeditor_3.3.1.zip
      

  3.   

    在CKEditor的配置文件中找到配置项,将其删除就可以了。
      

  4.   

    好像是ckeditor\config.js文件吧,有个配置节叫CKEDITOR.editorConfig下的
    config.toolbar=[['Source','-','Save','NewPage','Preview','-','Templates'],['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print','SpellChecker','Scayt'],['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],‘/’,['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],['Link','Unlink','Anchor'],['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],‘/’,['Styles','Format','Font','FontSize'],['TextColor','BGColor'],['Maximize','ShowBlocks','-','About']];
      

  5.   

    修改config.toolbar = 'Basic';
     config.toolbar = 'Full';
    config.toolbar=
    [
      

  6.   

    config.js中只有
    /*
    Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
    For licensing, see LICENSE.html or http://ckeditor.com/license
    */CKEDITOR.editorConfig = function( config )
    {
    // Define changes to default configuration here. For example:
    // config.language = 'fr';
    // config.uiColor = '#AADC6E';
    };
      

  7.   

    我今天刚解决这个问题!!
    config.js中貌似是缺省的配置,需要自己额外增加配置。
    增加以下配置,然后对应页面的按钮删除以下相应的名称,就可以删除页面的按钮了。
    config.toolbar_Full = [
    ['Source','-','Save','NewPage','Preview','-','Templates'],
    ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
    ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
    ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],
    '/',
    ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
    ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
    ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
    ['Link','Unlink','Anchor'],
    ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
    '/',
    ['Styles','Format','Font','FontSize'],
    ['TextColor','BGColor']
    ];现在我删除得功能了,我还想将plugins文件夹里的对应功能JS也给删掉,因为ckeditor体积较大。
    但是看不懂哪个按钮对应哪个JS。所以不敢删..