Browse code

Re-add TinyMCE 2.0.1 to the site settings list - TinyMCE directoy names changed - installer submission settings layout dirty fix

Clarissa Walker authored on 2026/07/27 11:20:38
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,19 +0,0 @@
1
-tinyMCEPopup.requireLangPack();
2
-
3
-var ExampleDialog = {
4
-	init : function() {
5
-		var f = document.forms[0];
6
-
7
-		// Get the selected contents as text and place it in the input
8
-		f.someval.value = tinyMCEPopup.editor.selection.getContent({format : 'text'});
9
-		f.somearg.value = tinyMCEPopup.getWindowArg('some_custom_arg');
10
-	},
11
-
12
-	insert : function() {
13
-		// Insert the contents from the input into the document
14
-		tinyMCEPopup.editor.execCommand('mceInsertContent', false, document.forms[0].someval.value);
15
-		tinyMCEPopup.close();
16
-	}
17
-};
18
-
19
-tinyMCEPopup.onInit.add(ExampleDialog.init, ExampleDialog);
Browse code

Actually use TinyMCE 3.4.8 for TinyMCE3 option instead of original 2.0.1; that version is moved to 'tinymce2' directory

Clarissa Walker authored on 2026/07/27 09:02:31
Showing 1 changed files
... ...
@@ -1,19 +1,19 @@
1
-tinyMCEPopup.requireLangPack();
2
-
3
-var ExampleDialog = {
4
-	init : function() {
5
-		var f = document.forms[0];
6
-
7
-		// Get the selected contents as text and place it in the input
8
-		f.someval.value = tinyMCEPopup.editor.selection.getContent({format : 'text'});
9
-		f.somearg.value = tinyMCEPopup.getWindowArg('some_custom_arg');
10
-	},
11
-
12
-	insert : function() {
13
-		// Insert the contents from the input into the document
14
-		tinyMCEPopup.editor.execCommand('mceInsertContent', false, document.forms[0].someval.value);
15
-		tinyMCEPopup.close();
16
-	}
17
-};
18
-
19
-tinyMCEPopup.onInit.add(ExampleDialog.init, ExampleDialog);
1
+tinyMCEPopup.requireLangPack();
2
+
3
+var ExampleDialog = {
4
+	init : function() {
5
+		var f = document.forms[0];
6
+
7
+		// Get the selected contents as text and place it in the input
8
+		f.someval.value = tinyMCEPopup.editor.selection.getContent({format : 'text'});
9
+		f.somearg.value = tinyMCEPopup.getWindowArg('some_custom_arg');
10
+	},
11
+
12
+	insert : function() {
13
+		// Insert the contents from the input into the document
14
+		tinyMCEPopup.editor.execCommand('mceInsertContent', false, document.forms[0].someval.value);
15
+		tinyMCEPopup.close();
16
+	}
17
+};
18
+
19
+tinyMCEPopup.onInit.add(ExampleDialog.init, ExampleDialog);
Browse code

3.5.6 efiction version

Jimako authored on 2024/03/09 16:09:42
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,19 @@
1
+tinyMCEPopup.requireLangPack();
2
+
3
+var ExampleDialog = {
4
+	init : function() {
5
+		var f = document.forms[0];
6
+
7
+		// Get the selected contents as text and place it in the input
8
+		f.someval.value = tinyMCEPopup.editor.selection.getContent({format : 'text'});
9
+		f.somearg.value = tinyMCEPopup.getWindowArg('some_custom_arg');
10
+	},
11
+
12
+	insert : function() {
13
+		// Insert the contents from the input into the document
14
+		tinyMCEPopup.editor.execCommand('mceInsertContent', false, document.forms[0].someval.value);
15
+		tinyMCEPopup.close();
16
+	}
17
+};
18
+
19
+tinyMCEPopup.onInit.add(ExampleDialog.init, ExampleDialog);