From 2cef47455aed32e623798973f351c5dfcdb317d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B9=E8=AF=9A=E8=AF=9A?= Date: Wed, 27 Nov 2019 14:13:07 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=B9=E6=AE=8A=E5=AD=97=E7=AC=A6=E4=B8=8D?= =?UTF-8?q?=E8=BD=AC=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wysiwyg/config.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wysiwyg/config.js b/wysiwyg/config.js index 18a2c909..21a27466 100644 --- a/wysiwyg/config.js +++ b/wysiwyg/config.js @@ -18,6 +18,8 @@ CKEDITOR.editorConfig = function( config ) { config.toolbarCanCollapse = false; + config.entities = false; + config.basicEntities = false; //config.scayt_autoStartup = true;//打开自动语法检查 //config.scayt_sLang = 'de_DE'; //语法检查语言 //config.enterMode = CKEDITOR.ENTER_BR; @@ -40,8 +42,8 @@ CKEDITOR.editorConfig = function( config ) { { name: 'others', groups: [ 'others' ] }, { name: 'about', groups: [ 'about' ] } ]; - - config.removeButtons = 'Print,Preview,NewPage,Save,Templates,SelectAll,TextField,Textarea,Select,Button,HiddenField,Form,Checkbox,Radio,NumberedList,BulletedList,CreateDiv,Language,Anchor,Flash,HorizontalRule,Smiley,SpecialChar,PageBreak,Iframe,ShowBlocks,About,BidiLtr,BidiRtl,searchCode,Copy,Cut'; +//,NumberedList,BulletedList + config.removeButtons = 'Print,Preview,NewPage,Save,Templates,SelectAll,TextField,Textarea,Select,Button,HiddenField,Form,Checkbox,Radio,CreateDiv,Language,Anchor,Flash,HorizontalRule,Smiley,SpecialChar,PageBreak,Iframe,ShowBlocks,About,BidiLtr,BidiRtl,searchCode,Copy,Cut';