Sha256: 0f67c12d0747deb308082edf7db0ba3526eb0988e9c3c08b636e2c26bd3812b8
Contents?: true
Size: 519 Bytes
Versions: 7
Compression:
Stored size: 519 Bytes
Contents
tinyMCEPopup.requireLangPack(); var EmotionsDialog = { init : function(ed) { tinyMCEPopup.resizeToInnerSize(); }, insert : function(file, title) { var ed = tinyMCEPopup.editor, dom = ed.dom; tinyMCEPopup.execCommand('mceInsertContent', false, dom.createHTML('img', { src : tinyMCEPopup.getWindowArg('plugin_url') + '/img/' + file, alt : ed.getLang(title), title : ed.getLang(title), border : 0 })); tinyMCEPopup.close(); } }; tinyMCEPopup.onInit.add(EmotionsDialog.init, EmotionsDialog);
Version data entries
7 entries across 7 versions & 3 rubygems