From 1098b5a70de82bbc6659a6e430d8bb847b3d5c96 Mon Sep 17 00:00:00 2001 From: xushubieli Date: Mon, 28 Feb 2022 17:46:12 +0800 Subject: [PATCH] Update config.js --- src/static/ckeditor/config.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/static/ckeditor/config.js b/src/static/ckeditor/config.js index 8e0fd12c..c88bec67 100644 --- a/src/static/ckeditor/config.js +++ b/src/static/ckeditor/config.js @@ -2,7 +2,6 @@ * @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'] }, @@ -19,10 +18,7 @@ CKEDITOR.editorConfig = function (config) { { name: 'colors', groups: ['colors'] }, { name: 'tools', groups: ['tools'] } ]; - config.extraPlugins = 'html5video,dedepagebreak,textindent'; - config.removeButtons = 'About,ShowBlocks,Iframe,Flash,Form,Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField'; - - // config.filebrowserImageUploadUrl = "./dialog/select_images_post.php"; + config.font_names='宋体/SimSun;楷体/KaiTi;黑体/SimHei;微软雅黑/Microsoft YaHei;微软正黑/Microsoft JhengHei'+ config.font_names; }; \ No newline at end of file