equal
deleted
inserted
replaced
1 /** |
1 /** |
2 * $Id: editor_plugin_src.js 42 2006-08-08 14:32:24Z spocke $ |
2 * $Id: editor_plugin_src.js 42 2006-08-08 14:32:24Z spocke $ |
3 * |
3 * |
4 * @author Moxiecode - based on work by Andrew Tetlaw |
4 * @author Moxiecode - based on work by Andrew Tetlaw |
5 * @copyright Copyright © 2004-2007, Moxiecode Systems AB, All rights reserved. |
5 * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved. |
6 */ |
6 */ |
7 |
7 |
8 function init() { |
8 function init() { |
9 SXE.initElementDialog('abbr'); |
9 SXE.initElementDialog('abbr'); |
10 if (SXE.currentAction == "update") { |
10 if (SXE.currentAction == "update") { |
11 SXE.showRemoveButton(); |
11 SXE.showRemoveButton(); |
12 } |
12 } |
13 } |
13 } |
14 |
14 |
15 function insertAbbr() { |
15 function insertAbbr() { |
16 SXE.insertElement(tinymce.isIE ? 'mce:abbr' : 'abbr'); |
16 SXE.insertElement(tinymce.isIE ? 'html:abbr' : 'abbr'); |
17 tinyMCEPopup.close(); |
17 tinyMCEPopup.close(); |
18 } |
18 } |
19 |
19 |
20 function removeAbbr() { |
20 function removeAbbr() { |
21 SXE.removeElement('abbr'); |
21 SXE.removeElement('abbr'); |