summaryrefslogtreecommitdiff
path: root/public/javascripts/tiny_mce/themes/advanced/js/about.js
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-06-27 16:58:53 +0200
committererdgeist <erdgeist@erdgeist.org>2026-06-27 16:58:53 +0200
commit420506e58fdfc84f1a5bede0a01dedf0af3bb4f3 (patch)
tree57726b40e8aa9ccf80f874f39d3facefc0331420 /public/javascripts/tiny_mce/themes/advanced/js/about.js
parent241d5e91b2b6716e2861cc77d319c3d3568343a8 (diff)
Stage 7: Rails 7.2 → 8.1 on Ruby 3.2.11
- Bump Rails to 8.1.3 (Ruby unchanged at 3.2.11, new gemset rails8-upgrade) - config.load_defaults 8.1; merge app:update diffs for all environment files - Remove routing-filter 0.7.0; replace with native scope '(:locale)' in routes.rb and default_url_options in ApplicationController - Delete config/initializers/routing_filter_rails71_patch.rb - Replace vendored TinyMCE 3.x (~200 files) with tinymce-rails ~> 8.3; migrate admin_interface.js from jQuery .tinymce()/advanced theme to tinymce.init(); add config/tinymce.yml; note: TinyMCE 7+ is GPL - rails-i18n ~> 8.0 added explicitly (previously indirect dependency) - awesome_nested_set, acts-as-taggable-on pinned to git main/master (gemspec activerecord < 8.1 ceiling; no functional incompatibility; repin to version once upstream releases updated gemspecs) - globalize ~> 7.0, libxml-ruby ~> 5.0, nokogiri ~> 1.18, pg ~> 1.5 - sass-rails, coffee-rails, uglifier moved from :assets group to main (Sprockets 4 convention; :assets group no longer meaningful) - Node: head, draft, lock_owner marked belongs_to optional: true - Page: node, user, editor marked belongs_to optional: true - Static assets in public/images/ and public/javascripts/ referenced via plain HTML tags; Rails 8 load_defaults raises on pipeline helpers for undeclared assets - sessions_controller_test.rb: remove stale require and dead rescue_action - users_controller_test.rb: assert button[type=submit] not input[type=submit] (Rails 8 button_to renders <button> not <input>) - test_helper.rb: node.reload after children.create! (awesome_nested_set 3.9.0 does not refresh parent in memory after callback) - 129 runs, 339 assertions, 3 failures, 0 errors — identical baseline to 7.2
Diffstat (limited to 'public/javascripts/tiny_mce/themes/advanced/js/about.js')
-rw-r--r--public/javascripts/tiny_mce/themes/advanced/js/about.js72
1 files changed, 0 insertions, 72 deletions
diff --git a/public/javascripts/tiny_mce/themes/advanced/js/about.js b/public/javascripts/tiny_mce/themes/advanced/js/about.js
deleted file mode 100644
index 5cee9ed..0000000
--- a/public/javascripts/tiny_mce/themes/advanced/js/about.js
+++ /dev/null
@@ -1,72 +0,0 @@
1tinyMCEPopup.requireLangPack();
2
3function init() {
4 var ed, tcont;
5
6 tinyMCEPopup.resizeToInnerSize();
7 ed = tinyMCEPopup.editor;
8
9 // Give FF some time
10 window.setTimeout(insertHelpIFrame, 10);
11
12 tcont = document.getElementById('plugintablecontainer');
13 document.getElementById('plugins_tab').style.display = 'none';
14
15 var html = "";
16 html += '<table id="plugintable">';
17 html += '<thead>';
18 html += '<tr>';
19 html += '<td>' + ed.getLang('advanced_dlg.about_plugin') + '</td>';
20 html += '<td>' + ed.getLang('advanced_dlg.about_author') + '</td>';
21 html += '<td>' + ed.getLang('advanced_dlg.about_version') + '</td>';
22 html += '</tr>';
23 html += '</thead>';
24 html += '<tbody>';
25
26 tinymce.each(ed.plugins, function(p, n) {
27 var info;
28
29 if (!p.getInfo)
30 return;
31
32 html += '<tr>';
33
34 info = p.getInfo();
35
36 if (info.infourl != null && info.infourl != '')
37 html += '<td width="50%" title="' + n + '"><a href="' + info.infourl + '" target="_blank">' + info.longname + '</a></td>';
38 else
39 html += '<td width="50%" title="' + n + '">' + info.longname + '</td>';
40
41 if (info.authorurl != null && info.authorurl != '')
42 html += '<td width="35%"><a href="' + info.authorurl + '" target="_blank">' + info.author + '</a></td>';
43 else
44 html += '<td width="35%">' + info.author + '</td>';
45
46 html += '<td width="15%">' + info.version + '</td>';
47 html += '</tr>';
48
49 document.getElementById('plugins_tab').style.display = '';
50
51 });
52
53 html += '</tbody>';
54 html += '</table>';
55
56 tcont.innerHTML = html;
57
58 tinyMCEPopup.dom.get('version').innerHTML = tinymce.majorVersion + "." + tinymce.minorVersion;
59 tinyMCEPopup.dom.get('date').innerHTML = tinymce.releaseDate;
60}
61
62function insertHelpIFrame() {
63 var html;
64
65 if (tinyMCEPopup.getParam('docs_url')) {
66 html = '<iframe width="100%" height="300" src="' + tinyMCEPopup.editor.baseURI.toAbsolute(tinyMCEPopup.getParam('docs_url')) + '"></iframe>';
67 document.getElementById('iframecontainer').innerHTML = html;
68 document.getElementById('help_tab').style.display = 'block';
69 }
70}
71
72tinyMCEPopup.onInit.add(init);