mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-08 10:41:25 +02:00
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@93610 467b73ca-7a2a-4603-9d3b-597d59a354a9
26 lines
570 B
JavaScript
26 lines
570 B
JavaScript
/**
|
|
* $Id: editor_plugin_src.js 42 2006-08-08 14:32:24Z spocke $
|
|
*
|
|
* @author Moxiecode - based on work by Andrew Tetlaw
|
|
* @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
|
|
*/
|
|
|
|
function init() {
|
|
SXE.initElementDialog('abbr');
|
|
if (SXE.currentAction == "update") {
|
|
SXE.showRemoveButton();
|
|
}
|
|
}
|
|
|
|
function insertAbbr() {
|
|
SXE.insertElement(tinymce.isIE ? 'html:abbr' : 'abbr');
|
|
tinyMCEPopup.close();
|
|
}
|
|
|
|
function removeAbbr() {
|
|
SXE.removeElement('abbr');
|
|
tinyMCEPopup.close();
|
|
}
|
|
|
|
tinyMCEPopup.onInit.add(init);
|