Add JS files
This commit is contained in:
25
include/javascript/tiny_mce/plugins/xhtmlxtras/js/abbr.js
vendored
Executable file
25
include/javascript/tiny_mce/plugins/xhtmlxtras/js/abbr.js
vendored
Executable file
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
|
||||
*
|
||||
* @author Moxiecode - based on work by Andrew Tetlaw
|
||||
* @copyright Copyright <20> 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);
|
||||
Reference in New Issue
Block a user