瀏覽代碼

富文本排序调整

tags/6.2.10
叙述、别离 1 年之前
父節點
當前提交
7d6f314513
共有 2 個文件被更改,包括 5 次插入31 次删除
  1. +5
    -8
      src/static/ckeditor/config.js
  2. +0
    -23
      static/ckeditor/config.js

+ 5
- 8
src/static/ckeditor/config.js 查看文件

@@ -5,17 +5,14 @@
CKEDITOR.editorConfig = function (config) {
config.toolbarGroups = [
{ name: 'document', groups: ['mode', 'document', 'doctools'] },
{ name: 'clipboard', groups: ['clipboard', 'undo'] },
{ name: 'clipboard', groups: ['undo', 'cleanup', 'clipboard'] },
{ name: 'styles', groups: ['styles'] },
{ name: 'colors', groups: ['colors'] },
{ name: 'paragraph', groups: ['align', 'paragraph', 'textindent', 'indent'] },
{ name: 'basicstyles', groups: ['basicstyles', 'list', 'bidi', 'blocks'] },
{ name: 'editing', groups: ['find', 'selection', 'spellchecker', 'editing'] },
{ name: 'forms', groups: ['forms'] },
{ name: 'basicstyles', groups: ['basicstyles', 'cleanup', 'list', 'indent', 'blocks'] },
'/',
{ name: 'paragraph', groups: ['align', 'bidi', 'paragraph','textindent'] },
{ name: 'links', groups: ['links'] },
{ name: 'insert', groups: ['insert'] },
'/',
{ name: 'styles', groups: ['styles'] },
{ name: 'colors', groups: ['colors'] },
{ name: 'tools', groups: ['tools'] }
];
config.height = 360;


+ 0
- 23
static/ckeditor/config.js 查看文件

@@ -1,23 +0,0 @@
/**
* @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.editorConfig = function (config) {
config.toolbarGroups = [
{ name: 'document', groups: ['mode', 'document', 'doctools'] },
{ name: 'clipboard', groups: ['undo', 'cleanup', 'clipboard'] },
{ name: 'styles', groups: ['styles'] },
{ name: 'colors', groups: ['colors'] },
{ name: 'paragraph', groups: ['align', 'paragraph', 'textindent', 'indent'] },
{ name: 'basicstyles', groups: ['basicstyles', 'list', 'bidi', 'blocks'] },
{ name: 'editing', groups: ['find', 'selection', 'spellchecker', 'editing'] },
{ name: 'links', groups: ['links'] },
{ name: 'insert', groups: ['insert'] },
{ name: 'tools', groups: ['tools'] }
];
config.height = 360;
config.removePlugins = 'exportpdf';
config.extraPlugins = 'html5video,dedepagebreak,textindent';
config.removeButtons = 'Save,NewPage,Print,Preview,Templates,Smiley,About,ShowBlocks,Iframe,Flash,Form,Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField';
config.font_names='宋体/SimSun;楷体/KaiTi;黑体/SimHei;微软雅黑/Microsoft YaHei;微软正黑/Microsoft JhengHei'+ config.font_names;
};

Loading…
取消
儲存