CKEDITOR的config.js文件 博客分类: CKEDITOR CKEDITORconfig配置
程序员文章站
2024-03-18 16:26:46
...
/* 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.shiftEnterMode = CKEDITOR.ENTER_P;//shift+enter实现换段 config.enterMode = CKEDITOR.ENTER_BR;//enter实现换行 config.autoUpdateElement = true; config.toolbar = 'MyToolbar'; config.toolbar_MyToolbar = [ ['NewPage','Preview','Templates'], ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Scayt'], ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'], '/', ['Styles','Format'], ['Bold','Italic','Strike'], ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'], ['Link','Unlink','Anchor'], ['Maximize','-','About'] ]; /* config.toolbar = 'Full'; config.toolbar_Full = [ { name: 'document', items : [ 'Source','-','Save','NewPage','DocProps','Preview','Print','-','Templates' ] }, { name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] }, { name: 'editing', items : [ 'Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt' ] }, { name: 'forms', items : [ 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField' ] }, '/', { name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] }, { name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv','- ','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ] }, { name: 'links', items : [ 'Link','Unlink','Anchor' ] }, { name: 'insert', items : [ 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe' ] }, '/', { name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] }, { name: 'colors', items : [ 'TextColor','BGColor' ] }, { name: 'tools', items : [ 'Maximize', 'ShowBlocks','-','About' ] } ]; config.toolbar_Basic = [ ['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink','-','About'] ]; */ };
推荐阅读
-
CKEDITOR的config.js文件 博客分类: CKEDITOR CKEDITORconfig配置
-
web.xml中/ 与/*的区别;配置文件的匹配 博客分类: Servlet Servlet
-
的含义
博客分类: JavaHibernate java字符串日期hibernatehbm2ddl ">
Java 字符串转换为日期,hibernate配置文件
的含义 博客分类: JavaHibernate java字符串日期hibernatehbm2ddl -
MyBatis中mapper.xml配置文件中的各种判断 博客分类: MyBatis mybatismapper.xml判断
-
超链接target为_blank时的问题 博客分类: html/css/ckeditor javascripthtmlhreftarget
-
ssh三大框架代码的自动生成 博客分类: java 自动生成配置文件自动生成代码ssh自动生成三大框架自动生成
-
javaweb读取任意目录的下的properties配置文件(解决普通java类读web-inf下任意目录) 博客分类: JAVA java
-
javaweb读取任意目录的下的properties配置文件(解决普通java类读web-inf下任意目录) 博客分类: JAVA java
-
加载spring配置文件的常用三种方法 博客分类: Spring SpringWebXMLStrutsJava
-
集群环境中使用_EhCache_缓存系统&Ehcache配置文件的详细说明 博客分类: Ehcache 配置管理CacheHibernate框架多线程