Disable exportpdf CKEditor plugin by default #1585

This commit is contained in:
Kijin Sung 2021-01-29 10:32:59 +09:00
parent b388161c03
commit 4bb823ddfe
2 changed files with 2 additions and 2 deletions

View file

@ -56,7 +56,7 @@ class editor extends ModuleObject
'additional_css' => array(),
'additional_mobile_css' => array(),
'additional_plugins' => array(),
'remove_plugins' => array('liststyle', 'tabletools', 'tableselection', 'contextmenu'),
'remove_plugins' => array('liststyle', 'tabletools', 'tableselection', 'contextmenu', 'exportpdf'),
);
/**

View file

@ -40,7 +40,7 @@ function getAutoSavedSrl(ret_obj, response_tags, c) {
{ name: 'others' }
],
allowedContent: true,
removePlugins: 'stylescombo,language,bidi,flash,pagebreak',
removePlugins: 'stylescombo,language,bidi,flash,pagebreak,exportpdf',
removeButtons: 'Save,Preview,Print,Cut,Copy,Paste,Flash,NewPage,ExportPdf,Language',
uiColor: '#EFF0F0'
};