如题,我想去掉编辑器中的保存等按钮。
请问如何操作。
请问如何操作。
解决方案 »
- Request.QueryString和fRequest.Params
- 急求.resx文件解决方法
- gridview里headerStyle的wrap属性为false 列标题是不换行了 但是标题列的height大得要命 怎么调整?
- VWD 如何用 1.1
- 懂VB翻译下这句话什么意思:Private _List As List(Of TabularView)
- 请问为什么用这个命令获取不了硬盘的ID?
- 孟子啊,思归啊,救救我吧。关于AD问题。和发送邮件的问题。。再次发贴。100分 高手进。。。。
- asp.net 中detailsview进入编辑模式的问题
- 高手请进,form传送数据的疑问
- 如何把form中的webcontral全部文本框找到
- 版面浏览和管理,共用一个页面吗?
- 谁有开源网上商城
看看这个文章
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']];
config.toolbar = 'Full';
config.toolbar=
[
/*
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';
};
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。所以不敢删..