Subversion Repositories Sites.tela-botanica.org

Rev

Blame | Last modification | View Log | RSS feed

 /**
 * $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();
}