首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

ckeditor config 简洁配置

2012-10-06 
ckeditor config 精简配置/*Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserve

ckeditor config 精简配置

/*Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.For licensing, see LICENSE.html or http://ckeditor.com/license*/CKEDITOR.editorConfig = function( config ){ config.toolbar  =    [            ['Bold','Italic','Underline','Strike'],            ['Font','FontSize','TextColor','BGColor'],    ['Link','Image'],    ['Smiley'],    ['Source']      ];    config.skin='v2';    config.width =800; //宽度     config.height = 300; //高度 config.language = 'zh-cn';config.uiColor = '#D9E1F7';config.font_names = '宋体/宋体;黑体/黑体;仿宋/仿宋_GB2312;楷体/楷体_GB2312;隶书/隶书;幼圆/幼圆;'+ config.font_names ;};

热点排行