Mercurial > public > sg101
view static/js/tiny_mce/plugins/print/editor_plugin.js @ 793:fa7377d90160
Issue #71: in production, celeryd now needs tools on the PYTHONPATH.
This is because it is now using site markup, which requires our
Markdown extensions.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Mon, 26 May 2014 19:34:49 -0500 |
parents | 88b2b9cb8c1f |
children |
line wrap: on
line source
(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)})();