Enable print plugin in ckeditor

This commit is contained in:
yflory 2017-12-21 17:07:06 +01:00
parent 5532b779fd
commit 158ef58c6c
1 changed files with 3 additions and 2 deletions

View File

@ -10,7 +10,7 @@ CKEDITOR.editorConfig = function( config ) {
// document itself and causes problems when it's sent across the wire and reflected back // document itself and causes problems when it's sent across the wire and reflected back
config.removePlugins= 'resize,elementspath'; config.removePlugins= 'resize,elementspath';
config.resize_enabled= false; //bottom-bar config.resize_enabled= false; //bottom-bar
config.extraPlugins= 'autolink,colorbutton,colordialog,font,indentblock,justify,mediatag'; config.extraPlugins= 'autolink,colorbutton,colordialog,font,indentblock,justify,mediatag,print';
config.toolbarGroups= [ config.toolbarGroups= [
// {"name":"clipboard","groups":["clipboard","undo"]}, // {"name":"clipboard","groups":["clipboard","undo"]},
//{"name":"editing","groups":["find","selection"]}, //{"name":"editing","groups":["find","selection"]},
@ -23,7 +23,8 @@ CKEDITOR.editorConfig = function( config ) {
{"name":"basicstyles","groups":["basicstyles","cleanup"]}, {"name":"basicstyles","groups":["basicstyles","cleanup"]},
{"name":"paragraph","groups":["list","indent","blocks","align","bidi"]}, {"name":"paragraph","groups":["list","indent","blocks","align","bidi"]},
{"name":"styles"}, {"name":"styles"},
{"name":"colors"}]; {"name":"colors"},
{"name":"print"}];
config.font_defaultLabel = 'Arial'; config.font_defaultLabel = 'Arial';
config.fontSize_defaultLabel = '16'; config.fontSize_defaultLabel = '16';