summaryrefslogtreecommitdiffstats
path: root/extensions/tinymce/jscripts/tiny_mce/plugins/print/editor_plugin.js
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/tinymce/jscripts/tiny_mce/plugins/print/editor_plugin.js')
-rw-r--r--extensions/tinymce/jscripts/tiny_mce/plugins/print/editor_plugin.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/tinymce/jscripts/tiny_mce/plugins/print/editor_plugin.js b/extensions/tinymce/jscripts/tiny_mce/plugins/print/editor_plugin.js
new file mode 100644
index 0000000..7d09a87
--- /dev/null
+++ b/extensions/tinymce/jscripts/tiny_mce/plugins/print/editor_plugin.js
@@ -0,0 +1 @@
+(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);})(); \ No newline at end of file