includes/clientside/tinymce/plugins/print/editor_plugin.js
author Dan Fuhry <dan@enanocms.org>
Tue, 03 Aug 2010 20:49:20 -0400
changeset 1285 4d511be69a5f
parent 1193 e3b94bd055dc
permissions -rw-r--r--
Added an icon for Edit Sidebar admin page.

(function(){tinymce.create("tinymce.plugins.Print",{init:function(a,b){a.addCommand("mcePrint",function(){a.getWin().print()});a.addButton("print",{title:"print.print_desc",cmd:"mcePrint"})},getInfo:function(){return{longname:"Print",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/print",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("print",tinymce.plugins.Print)})();