Enable print plugin in ckeditor

pull/1/head
yflory 7 years ago
parent 5532b779fd
commit 158ef58c6c

@ -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';

Loading…
Cancel
Save