diff --git a/modules/editor/editor.class.php b/modules/editor/editor.class.php index a600a2d31..2e40ff01f 100644 --- a/modules/editor/editor.class.php +++ b/modules/editor/editor.class.php @@ -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'), ); /** diff --git a/modules/editor/tpl/js/editor.app.js b/modules/editor/tpl/js/editor.app.js index 5a24c4ed4..31dc24d16 100644 --- a/modules/editor/tpl/js/editor.app.js +++ b/modules/editor/tpl/js/editor.app.js @@ -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' };