summaryrefslogtreecommitdiff
path: root/public/javascripts/tiny_mce/themes/simple
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-06-27 22:52:50 +0200
committererdgeist <erdgeist@erdgeist.org>2026-06-27 22:52:50 +0200
commit9a19a0494ef51cdac9a78e24d517ca48ba44c453 (patch)
tree8eaae12d8047a40e29d3ea7ff3116b5c869e04bd /public/javascripts/tiny_mce/themes/simple
parent85a01e35274b8d4d4165a7b26bd7986e211246bb (diff)
parent1853082fcd8c067390c246f9daa01a9b47387497 (diff)
Migration from Rails 2.3.5 to Rails 8.1 successful.
Merging dev branch.
Diffstat (limited to 'public/javascripts/tiny_mce/themes/simple')
-rw-r--r--public/javascripts/tiny_mce/themes/simple/editor_template.js1
-rw-r--r--public/javascripts/tiny_mce/themes/simple/editor_template_src.js85
-rw-r--r--public/javascripts/tiny_mce/themes/simple/img/icons.gifbin1440 -> 0 bytes
-rw-r--r--public/javascripts/tiny_mce/themes/simple/langs/en.js11
-rw-r--r--public/javascripts/tiny_mce/themes/simple/skins/default/content.css25
-rw-r--r--public/javascripts/tiny_mce/themes/simple/skins/default/ui.css32
-rw-r--r--public/javascripts/tiny_mce/themes/simple/skins/o2k7/content.css17
-rw-r--r--public/javascripts/tiny_mce/themes/simple/skins/o2k7/img/button_bg.pngbin5102 -> 0 bytes
-rw-r--r--public/javascripts/tiny_mce/themes/simple/skins/o2k7/ui.css35
9 files changed, 0 insertions, 206 deletions
diff --git a/public/javascripts/tiny_mce/themes/simple/editor_template.js b/public/javascripts/tiny_mce/themes/simple/editor_template.js
deleted file mode 100644
index ed89abc..0000000
--- a/public/javascripts/tiny_mce/themes/simple/editor_template.js
+++ /dev/null
@@ -1 +0,0 @@
1(function(){var a=tinymce.DOM;tinymce.ThemeManager.requireLangPack("simple");tinymce.create("tinymce.themes.SimpleTheme",{init:function(c,d){var e=this,b=["Bold","Italic","Underline","Strikethrough","InsertUnorderedList","InsertOrderedList"],f=c.settings;e.editor=c;c.onInit.add(function(){c.onNodeChange.add(function(h,g){tinymce.each(b,function(i){g.get(i.toLowerCase()).setActive(h.queryCommandState(i))})});c.dom.loadCSS(d+"/skins/"+f.skin+"/content.css")});a.loadCSS((f.editor_css?c.documentBaseURI.toAbsolute(f.editor_css):"")||d+"/skins/"+f.skin+"/ui.css")},renderUI:function(h){var e=this,i=h.targetNode,b,c,d=e.editor,f=d.controlManager,g;i=a.insertAfter(a.create("span",{id:d.id+"_container","class":"mceEditor "+d.settings.skin+"SimpleSkin"}),i);i=g=a.add(i,"table",{cellPadding:0,cellSpacing:0,"class":"mceLayout"});i=c=a.add(i,"tbody");i=a.add(c,"tr");i=b=a.add(a.add(i,"td"),"div",{"class":"mceIframeContainer"});i=a.add(a.add(c,"tr",{"class":"last"}),"td",{"class":"mceToolbar mceLast",align:"center"});c=e.toolbar=f.createToolbar("tools1");c.add(f.createButton("bold",{title:"simple.bold_desc",cmd:"Bold"}));c.add(f.createButton("italic",{title:"simple.italic_desc",cmd:"Italic"}));c.add(f.createButton("underline",{title:"simple.underline_desc",cmd:"Underline"}));c.add(f.createButton("strikethrough",{title:"simple.striketrough_desc",cmd:"Strikethrough"}));c.add(f.createSeparator());c.add(f.createButton("undo",{title:"simple.undo_desc",cmd:"Undo"}));c.add(f.createButton("redo",{title:"simple.redo_desc",cmd:"Redo"}));c.add(f.createSeparator());c.add(f.createButton("cleanup",{title:"simple.cleanup_desc",cmd:"mceCleanup"}));c.add(f.createSeparator());c.add(f.createButton("insertunorderedlist",{title:"simple.bullist_desc",cmd:"InsertUnorderedList"}));c.add(f.createButton("insertorderedlist",{title:"simple.numlist_desc",cmd:"InsertOrderedList"}));c.renderTo(i);return{iframeContainer:b,editorContainer:d.id+"_container",sizeContainer:g,deltaHeight:-20}},getInfo:function(){return{longname:"Simple theme",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.ThemeManager.add("simple",tinymce.themes.SimpleTheme)})(); \ No newline at end of file
diff --git a/public/javascripts/tiny_mce/themes/simple/editor_template_src.js b/public/javascripts/tiny_mce/themes/simple/editor_template_src.js
deleted file mode 100644
index fb0bd78..0000000
--- a/public/javascripts/tiny_mce/themes/simple/editor_template_src.js
+++ /dev/null
@@ -1,85 +0,0 @@
1/**
2 * $Id: editor_template_src.js 920 2008-09-09 14:05:33Z spocke $
3 *
4 * This file is meant to showcase how to create a simple theme. The advanced
5 * theme is more suitable for production use.
6 *
7 * @author Moxiecode
8 * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
9 */
10
11(function() {
12 var DOM = tinymce.DOM;
13
14 // Tell it to load theme specific language pack(s)
15 tinymce.ThemeManager.requireLangPack('simple');
16
17 tinymce.create('tinymce.themes.SimpleTheme', {
18 init : function(ed, url) {
19 var t = this, states = ['Bold', 'Italic', 'Underline', 'Strikethrough', 'InsertUnorderedList', 'InsertOrderedList'], s = ed.settings;
20
21 t.editor = ed;
22
23 ed.onInit.add(function() {
24 ed.onNodeChange.add(function(ed, cm) {
25 tinymce.each(states, function(c) {
26 cm.get(c.toLowerCase()).setActive(ed.queryCommandState(c));
27 });
28 });
29
30 ed.dom.loadCSS(url + "/skins/" + s.skin + "/content.css");
31 });
32
33 DOM.loadCSS((s.editor_css ? ed.documentBaseURI.toAbsolute(s.editor_css) : '') || url + "/skins/" + s.skin + "/ui.css");
34 },
35
36 renderUI : function(o) {
37 var t = this, n = o.targetNode, ic, tb, ed = t.editor, cf = ed.controlManager, sc;
38
39 n = DOM.insertAfter(DOM.create('span', {id : ed.id + '_container', 'class' : 'mceEditor ' + ed.settings.skin + 'SimpleSkin'}), n);
40 n = sc = DOM.add(n, 'table', {cellPadding : 0, cellSpacing : 0, 'class' : 'mceLayout'});
41 n = tb = DOM.add(n, 'tbody');
42
43 // Create iframe container
44 n = DOM.add(tb, 'tr');
45 n = ic = DOM.add(DOM.add(n, 'td'), 'div', {'class' : 'mceIframeContainer'});
46
47 // Create toolbar container
48 n = DOM.add(DOM.add(tb, 'tr', {'class' : 'last'}), 'td', {'class' : 'mceToolbar mceLast', align : 'center'});
49
50 // Create toolbar
51 tb = t.toolbar = cf.createToolbar("tools1");
52 tb.add(cf.createButton('bold', {title : 'simple.bold_desc', cmd : 'Bold'}));
53 tb.add(cf.createButton('italic', {title : 'simple.italic_desc', cmd : 'Italic'}));
54 tb.add(cf.createButton('underline', {title : 'simple.underline_desc', cmd : 'Underline'}));
55 tb.add(cf.createButton('strikethrough', {title : 'simple.striketrough_desc', cmd : 'Strikethrough'}));
56 tb.add(cf.createSeparator());
57 tb.add(cf.createButton('undo', {title : 'simple.undo_desc', cmd : 'Undo'}));
58 tb.add(cf.createButton('redo', {title : 'simple.redo_desc', cmd : 'Redo'}));
59 tb.add(cf.createSeparator());
60 tb.add(cf.createButton('cleanup', {title : 'simple.cleanup_desc', cmd : 'mceCleanup'}));
61 tb.add(cf.createSeparator());
62 tb.add(cf.createButton('insertunorderedlist', {title : 'simple.bullist_desc', cmd : 'InsertUnorderedList'}));
63 tb.add(cf.createButton('insertorderedlist', {title : 'simple.numlist_desc', cmd : 'InsertOrderedList'}));
64 tb.renderTo(n);
65
66 return {
67 iframeContainer : ic,
68 editorContainer : ed.id + '_container',
69 sizeContainer : sc,
70 deltaHeight : -20
71 };
72 },
73
74 getInfo : function() {
75 return {
76 longname : 'Simple theme',
77 author : 'Moxiecode Systems AB',
78 authorurl : 'http://tinymce.moxiecode.com',
79 version : tinymce.majorVersion + "." + tinymce.minorVersion
80 }
81 }
82 });
83
84 tinymce.ThemeManager.add('simple', tinymce.themes.SimpleTheme);
85})(); \ No newline at end of file
diff --git a/public/javascripts/tiny_mce/themes/simple/img/icons.gif b/public/javascripts/tiny_mce/themes/simple/img/icons.gif
deleted file mode 100644
index 16af141..0000000
--- a/public/javascripts/tiny_mce/themes/simple/img/icons.gif
+++ /dev/null
Binary files differ
diff --git a/public/javascripts/tiny_mce/themes/simple/langs/en.js b/public/javascripts/tiny_mce/themes/simple/langs/en.js
deleted file mode 100644
index 9f08f10..0000000
--- a/public/javascripts/tiny_mce/themes/simple/langs/en.js
+++ /dev/null
@@ -1,11 +0,0 @@
1tinyMCE.addI18n('en.simple',{
2bold_desc:"Bold (Ctrl+B)",
3italic_desc:"Italic (Ctrl+I)",
4underline_desc:"Underline (Ctrl+U)",
5striketrough_desc:"Strikethrough",
6bullist_desc:"Unordered list",
7numlist_desc:"Ordered list",
8undo_desc:"Undo (Ctrl+Z)",
9redo_desc:"Redo (Ctrl+Y)",
10cleanup_desc:"Cleanup messy code"
11}); \ No newline at end of file
diff --git a/public/javascripts/tiny_mce/themes/simple/skins/default/content.css b/public/javascripts/tiny_mce/themes/simple/skins/default/content.css
deleted file mode 100644
index 2506c80..0000000
--- a/public/javascripts/tiny_mce/themes/simple/skins/default/content.css
+++ /dev/null
@@ -1,25 +0,0 @@
1body, td, pre {
2 font-family: Verdana, Arial, Helvetica, sans-serif;
3 font-size: 10px;
4}
5
6body {
7 background-color: #FFFFFF;
8}
9
10.mceVisualAid {
11 border: 1px dashed #BBBBBB;
12}
13
14/* MSIE specific */
15
16* html body {
17 scrollbar-3dlight-color: #F0F0EE;
18 scrollbar-arrow-color: #676662;
19 scrollbar-base-color: #F0F0EE;
20 scrollbar-darkshadow-color: #DDDDDD;
21 scrollbar-face-color: #E0E0DD;
22 scrollbar-highlight-color: #F0F0EE;
23 scrollbar-shadow-color: #F0F0EE;
24 scrollbar-track-color: #F5F5F5;
25}
diff --git a/public/javascripts/tiny_mce/themes/simple/skins/default/ui.css b/public/javascripts/tiny_mce/themes/simple/skins/default/ui.css
deleted file mode 100644
index 076fe84..0000000
--- a/public/javascripts/tiny_mce/themes/simple/skins/default/ui.css
+++ /dev/null
@@ -1,32 +0,0 @@
1/* Reset */
2.defaultSimpleSkin table, .defaultSimpleSkin tbody, .defaultSimpleSkin a, .defaultSimpleSkin img, .defaultSimpleSkin tr, .defaultSimpleSkin div, .defaultSimpleSkin td, .defaultSimpleSkin iframe, .defaultSimpleSkin span, .defaultSimpleSkin * {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-weight:normal; cursor:default; color:#000}
3
4/* Containers */
5.defaultSimpleSkin {position:relative}
6.defaultSimpleSkin table.mceLayout {background:#F0F0EE; border:1px solid #CCC;}
7.defaultSimpleSkin iframe {display:block; background:#FFF; border-bottom:1px solid #CCC;}
8.defaultSimpleSkin .mceToolbar {height:24px;}
9
10/* Layout */
11.defaultSimpleSkin span.mceIcon, .defaultSimpleSkin img.mceIcon {display:block; width:20px; height:20px}
12.defaultSimpleSkin .mceIcon {background:url(../../img/icons.gif) no-repeat 20px 20px}
13
14/* Button */
15.defaultSimpleSkin .mceButton {display:block; border:1px solid #F0F0EE; width:20px; height:20px}
16.defaultSimpleSkin a.mceButtonEnabled:hover {border:1px solid #0A246A; background-color:#B2BBD0}
17.defaultSimpleSkin a.mceButtonActive {border:1px solid #0A246A; background-color:#C2CBE0}
18.defaultSimpleSkin .mceButtonDisabled span {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)}
19
20/* Separator */
21.defaultSimpleSkin .mceSeparator {display:block; background:url(../../img/icons.gif) -180px 0; width:2px; height:20px; margin:0 2px 0 4px}
22
23/* Theme */
24.defaultSimpleSkin span.mce_bold {background-position:0 0}
25.defaultSimpleSkin span.mce_italic {background-position:-60px 0}
26.defaultSimpleSkin span.mce_underline {background-position:-140px 0}
27.defaultSimpleSkin span.mce_strikethrough {background-position:-120px 0}
28.defaultSimpleSkin span.mce_undo {background-position:-160px 0}
29.defaultSimpleSkin span.mce_redo {background-position:-100px 0}
30.defaultSimpleSkin span.mce_cleanup {background-position:-40px 0}
31.defaultSimpleSkin span.mce_insertunorderedlist {background-position:-20px 0}
32.defaultSimpleSkin span.mce_insertorderedlist {background-position:-80px 0}
diff --git a/public/javascripts/tiny_mce/themes/simple/skins/o2k7/content.css b/public/javascripts/tiny_mce/themes/simple/skins/o2k7/content.css
deleted file mode 100644
index 595809f..0000000
--- a/public/javascripts/tiny_mce/themes/simple/skins/o2k7/content.css
+++ /dev/null
@@ -1,17 +0,0 @@
1body, td, pre {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;}
2
3body {background: #FFF;}
4.mceVisualAid {border: 1px dashed #BBB;}
5
6/* IE */
7
8* html body {
9scrollbar-3dlight-color: #F0F0EE;
10scrollbar-arrow-color: #676662;
11scrollbar-base-color: #F0F0EE;
12scrollbar-darkshadow-color: #DDDDDD;
13scrollbar-face-color: #E0E0DD;
14scrollbar-highlight-color: #F0F0EE;
15scrollbar-shadow-color: #F0F0EE;
16scrollbar-track-color: #F5F5F5;
17}
diff --git a/public/javascripts/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png b/public/javascripts/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png
deleted file mode 100644
index 527e349..0000000
--- a/public/javascripts/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png
+++ /dev/null
Binary files differ
diff --git a/public/javascripts/tiny_mce/themes/simple/skins/o2k7/ui.css b/public/javascripts/tiny_mce/themes/simple/skins/o2k7/ui.css
deleted file mode 100644
index cf6c35d..0000000
--- a/public/javascripts/tiny_mce/themes/simple/skins/o2k7/ui.css
+++ /dev/null
@@ -1,35 +0,0 @@
1/* Reset */
2.o2k7SimpleSkin table, .o2k7SimpleSkin tbody, .o2k7SimpleSkin a, .o2k7SimpleSkin img, .o2k7SimpleSkin tr, .o2k7SimpleSkin div, .o2k7SimpleSkin td, .o2k7SimpleSkin iframe, .o2k7SimpleSkin span, .o2k7SimpleSkin * {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-weight:normal; cursor:default; color:#000}
3
4/* Containers */
5.o2k7SimpleSkin {position:relative}
6.o2k7SimpleSkin table.mceLayout {background:#E5EFFD; border:1px solid #ABC6DD;}
7.o2k7SimpleSkin iframe {display:block; background:#FFF; border-bottom:1px solid #ABC6DD;}
8.o2k7SimpleSkin .mceToolbar {height:26px;}
9
10/* Layout */
11.o2k7SimpleSkin .mceToolbar .mceToolbarStart span {display:block; background:url(img/button_bg.png) -22px 0; width:1px; height:22px; }
12.o2k7SimpleSkin .mceToolbar .mceToolbarEnd span {display:block; background:url(img/button_bg.png) -22px 0; width:1px; height:22px}
13.o2k7SimpleSkin span.mceIcon, .o2k7SimpleSkin img.mceIcon {display:block; width:20px; height:20px}
14.o2k7SimpleSkin .mceIcon {background:url(../../img/icons.gif) no-repeat 20px 20px}
15
16/* Button */
17.o2k7SimpleSkin .mceButton {display:block; background:url(img/button_bg.png); width:22px; height:22px}
18.o2k7SimpleSkin a.mceButton span, .o2k7SimpleSkin a.mceButton img {margin:1px 0 0 1px}
19.o2k7SimpleSkin a.mceButtonEnabled:hover {background-color:#B2BBD0; background-position:0 -22px}
20.o2k7SimpleSkin a.mceButtonActive {background-position:0 -44px}
21.o2k7SimpleSkin .mceButtonDisabled span {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)}
22
23/* Separator */
24.o2k7SimpleSkin .mceSeparator {display:block; background:url(img/button_bg.png) -22px 0; width:5px; height:22px}
25
26/* Theme */
27.o2k7SimpleSkin span.mce_bold {background-position:0 0}
28.o2k7SimpleSkin span.mce_italic {background-position:-60px 0}
29.o2k7SimpleSkin span.mce_underline {background-position:-140px 0}
30.o2k7SimpleSkin span.mce_strikethrough {background-position:-120px 0}
31.o2k7SimpleSkin span.mce_undo {background-position:-160px 0}
32.o2k7SimpleSkin span.mce_redo {background-position:-100px 0}
33.o2k7SimpleSkin span.mce_cleanup {background-position:-40px 0}
34.o2k7SimpleSkin span.mce_insertunorderedlist {background-position:-20px 0}
35.o2k7SimpleSkin span.mce_insertorderedlist {background-position:-80px 0}