app/tiny_mce/plugins/print/editor_plugin.js
author Augie Fackler <durin42@gmail.com>
Tue, 03 Mar 2009 03:37:16 +0000
changeset 1599 b56976cac36b
parent 154 d2377425d3f2
permissions -rwxr-xr-x
Add myself to authors on this file, and allow my whitespace cleanup hook to cleanup whitespace. Patch by: Augie Fackler

(function(){tinymce.create('tinymce.plugins.Print',{init:function(ed,url){ed.addCommand('mcePrint',function(){ed.getWin().print();});ed.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);})();