2 tinyMCEPopup.resizeToInnerSize();
5 function insertEmotion(file_name, title) {
6 title = tinyMCE.getLang(title);
12 title = title.replace(/&/g, '&');
13 title = title.replace(/\"/g, '"');
14 title = title.replace(/</g, '<');
15 title = title.replace(/>/g, '&gr;');
17 var html = '<img src="' + tinyMCE.baseURL + "/plugins/emotions/images/" + file_name + '" mce_src="' + tinyMCE.baseURL + "/plugins/emotions/images/" + file_name + '" border="0" alt="' + title + '" />';
19 tinyMCE.execCommand('mceInsertContent', false, html);