From 53a3096591c9b9b8fe0e8ba66df6bad4a9f6f8b4 Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Fri, 29 Jan 2021 10:23:44 +0900 Subject: [PATCH] Rearrange CKEditor full toolbar and remove extra buttons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - CKEditor 업데이트 후 새로 추가된 버튼들 때문에 메뉴 줄이 넘어가는 문제 수정 - 웹상에서 활용도가 높지 않은 플래시 버튼, 새 페이지 버튼 등을 제거 - 관련이슈: #1585 --- modules/editor/tpl/js/editor.app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/editor/tpl/js/editor.app.js b/modules/editor/tpl/js/editor.app.js index 5d1b092ea..5a24c4ed4 100644 --- a/modules/editor/tpl/js/editor.app.js +++ b/modules/editor/tpl/js/editor.app.js @@ -32,7 +32,7 @@ function getAutoSavedSrl(ret_obj, response_tags, c) { { name: 'document', groups: [ 'mode' ] }, '/', { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] }, - { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] }, + { name: 'paragraph', groups: [ 'align', 'list', 'indent', 'blocks', 'bidi' ] }, '/', { name: 'styles' }, { name: 'colors' }, @@ -41,7 +41,7 @@ function getAutoSavedSrl(ret_obj, response_tags, c) { ], allowedContent: true, removePlugins: 'stylescombo,language,bidi,flash,pagebreak', - removeButtons: 'Save,Preview,Print,Cut,Copy,Paste', + removeButtons: 'Save,Preview,Print,Cut,Copy,Paste,Flash,NewPage,ExportPdf,Language', uiColor: '#EFF0F0' };