Sha256: a311fb995813cc7609d90da7ee245e5d529290556a12fc32ccad13c096d89142
Contents?: true
Size: 693 Bytes
Versions: 27
Compression:
Stored size: 693 Bytes
Contents
tinyMCEPopup.requireLangPack(); var MuckFlickrDialog = { init : function() { var selected_text = tinyMCEPopup.editor.selection.getContent({format : 'text'}); }, insert : function() { selected_text = tinyMCEPopup.editor.selection.getContent({format : 'text'}) if(selected_text.length > 3){ return_text = selected_text + document.getElementById("result_html_id").value; }else{ return_text = document.getElementById("result_html_id").value; } tinyMCEPopup.editor.execCommand('mceInsertContent', false, return_text); tinyMCEPopup.close(); } }; tinyMCEPopup.onInit.add(MuckFlickrDialog.init, MuckFlickrDialog);
Version data entries
27 entries across 27 versions & 2 rubygems