tinymce-editor/tinymce/plugins/print/plugin.min.js
Marat 2cb9c3aa14 Squashed 'copy_this/modules/bla/bla-tinymce/' content from commit 835609d
git-subtree-dir: copy_this/modules/bla/bla-tinymce
git-subtree-split: 835609d658ef23894653104da64769f67e13f94e
2015-02-23 12:18:22 +01:00

1 ligne
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("Ctrl+P","","mcePrint"),a.addMenuItem("print",{text:"Print",cmd:"mcePrint",icon:"print",shortcut:"Ctrl+P",context:"file"})});