diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-06-27 22:52:50 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-06-27 22:52:50 +0200 |
| commit | 9a19a0494ef51cdac9a78e24d517ca48ba44c453 (patch) | |
| tree | 8eaae12d8047a40e29d3ea7ff3116b5c869e04bd /public/javascripts/tiny_mce/plugins/emotions/js | |
| parent | 85a01e35274b8d4d4165a7b26bd7986e211246bb (diff) | |
| parent | 1853082fcd8c067390c246f9daa01a9b47387497 (diff) | |
Migration from Rails 2.3.5 to Rails 8.1 successful.
Merging dev branch.
Diffstat (limited to 'public/javascripts/tiny_mce/plugins/emotions/js')
| -rw-r--r-- | public/javascripts/tiny_mce/plugins/emotions/js/emotions.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/public/javascripts/tiny_mce/plugins/emotions/js/emotions.js b/public/javascripts/tiny_mce/plugins/emotions/js/emotions.js deleted file mode 100644 index c549367..0000000 --- a/public/javascripts/tiny_mce/plugins/emotions/js/emotions.js +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | tinyMCEPopup.requireLangPack(); | ||
| 2 | |||
| 3 | var EmotionsDialog = { | ||
| 4 | init : function(ed) { | ||
| 5 | tinyMCEPopup.resizeToInnerSize(); | ||
| 6 | }, | ||
| 7 | |||
| 8 | insert : function(file, title) { | ||
| 9 | var ed = tinyMCEPopup.editor, dom = ed.dom; | ||
| 10 | |||
| 11 | tinyMCEPopup.execCommand('mceInsertContent', false, dom.createHTML('img', { | ||
| 12 | src : tinyMCEPopup.getWindowArg('plugin_url') + '/img/' + file, | ||
| 13 | alt : ed.getLang(title), | ||
| 14 | title : ed.getLang(title), | ||
| 15 | border : 0 | ||
| 16 | })); | ||
| 17 | |||
| 18 | tinyMCEPopup.close(); | ||
| 19 | } | ||
| 20 | }; | ||
| 21 | |||
| 22 | tinyMCEPopup.onInit.add(EmotionsDialog.init, EmotionsDialog); | ||
