/* Import plugin specific language pack */ //tinyMCE.importPluginLanguagePack('zoom', 'en,sv,pt,fr_ca,fr,de'); /** * Returns the HTML contents of the zoom control. */ function TinyMCE_zoom_getControlHTML(control_name) { if (!tinyMCE.isMSIE || tinyMCE.isMSIE5_0) return ""; switch (control_name) { case "zoom": return ''; } return ""; } /** * Executes the mceZoom command. */ function TinyMCE_zoom_execCommand(editor_id, element, command, user_interface, value) { // Handle commands switch (command) { case "mceZoom": tinyMCE.getInstanceById(editor_id).contentDocument.body.style.zoom = value; tinyMCE.getInstanceById(editor_id).contentDocument.body.style.mozZoom = value; return true; } // Pass to next handler in chain return false; }