Mercurial > public > madeira
annotate static/js/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/acronym.js @ 199:b8682236b851
Add link to larger Vintage Guitar article image.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 04 May 2019 11:19:43 -0500 |
parents | 966cde8635c0 |
children |
rev | line source |
---|---|
bgneal@45 | 1 /** |
bgneal@45 | 2 * acronym.js |
bgneal@45 | 3 * |
bgneal@45 | 4 * Copyright 2009, Moxiecode Systems AB |
bgneal@45 | 5 * Released under LGPL License. |
bgneal@45 | 6 * |
bgneal@45 | 7 * License: http://tinymce.moxiecode.com/license |
bgneal@45 | 8 * Contributing: http://tinymce.moxiecode.com/contributing |
bgneal@45 | 9 */ |
bgneal@45 | 10 |
bgneal@45 | 11 function init() { |
bgneal@45 | 12 SXE.initElementDialog('acronym'); |
bgneal@45 | 13 if (SXE.currentAction == "update") { |
bgneal@45 | 14 SXE.showRemoveButton(); |
bgneal@45 | 15 } |
bgneal@45 | 16 } |
bgneal@45 | 17 |
bgneal@45 | 18 function insertAcronym() { |
bgneal@45 | 19 SXE.insertElement('acronym'); |
bgneal@45 | 20 tinyMCEPopup.close(); |
bgneal@45 | 21 } |
bgneal@45 | 22 |
bgneal@45 | 23 function removeAcronym() { |
bgneal@45 | 24 SXE.removeElement('acronym'); |
bgneal@45 | 25 tinyMCEPopup.close(); |
bgneal@45 | 26 } |
bgneal@45 | 27 |
bgneal@45 | 28 tinyMCEPopup.onInit.add(init); |