agenda-libre-ruby/public/assets/tinymce/plugins/print/plugin.js
2016-03-30 17:39:29 +02:00

1 line
293 B
JavaScript

tinymce.PluginManager.add("print",function(a){a.addCommand("mcePrint",function(){a.getWin().print()}),a.addButton("print",{title:"Print",cmd:"mcePrint"}),a.addShortcut("Meta+P","","mcePrint"),a.addMenuItem("print",{text:"Print",cmd:"mcePrint",icon:"print",shortcut:"Meta+P",context:"file"})});