author | Dan |
Sun, 14 Oct 2007 20:47:01 -0400 (2007-10-15) | |
changeset 176 | b796208d050d |
parent 1 | fe660c52c48f |
permissions | -rw-r--r-- |
/** * $Id: editor_plugin_src.js 42 2006-08-08 14:32:24Z spocke $ * * @author Moxiecode - based on work by Andrew Tetlaw * @copyright Copyright © 2004-2007, Moxiecode Systems AB, All rights reserved. */ function preinit() { // Initialize tinyMCE.setWindowArg('mce_windowresize', false); } function init() { tinyMCEPopup.resizeToInnerSize(); SXE.initElementDialog('abbr'); if (SXE.currentAction == "update") { SXE.showRemoveButton(); } } function insertAbbr() { SXE.insertElement(tinyMCE.isIE && !tinyMCE.isOpera ? 'html:ABBR' : 'abbr'); tinyMCEPopup.close(); } function removeAbbr() { SXE.removeElement('abbr'); tinyMCEPopup.close(); }