/* Import theme specific language pack */ tinyMCE.importPluginLanguagePack('print', 'en,sv,zh_cn,fa,fr_ca,fr,de,pl,pt_br,cs'); function TinyMCE_print_getControlHTML(control_name) { switch (control_name) { case "print": return ''; } return ""; } /** * Executes the search/replace commands. */ function TinyMCE_print_execCommand(editor_id, element, command, user_interface, value) { // Handle commands switch (command) { case "mcePrint": tinyMCE.getInstanceById(editor_id).contentWindow.print(); return true; } // Pass to next handler in chain return false; }