1
0
mirror of https://github.com/OpenXE-org/OpenXE.git synced 2025-01-22 11:01:14 +01:00

1 line
293 B
JavaScript
Raw Normal View History

2021-05-21 08:49:41 +02:00
tinymce.PluginManager.add("print",function(a){a.addCommand("mcePrint",function(){a.getWin().print()}),a.addButton("print",{title:"Print",cmd:"mcePrint"}),a.addShortcut("Ctrl+P","","mcePrint"),a.addMenuItem("print",{text:"Print",cmd:"mcePrint",icon:"print",shortcut:"Ctrl+P",context:"file"})});