Browse code

tinyMCE '2' is now 2.1.2 - Seems tinyMCE '2' was actually 3.0.9 (my fault for not checking), so '2' is now 2.1.2, and '3' is now 3.4.8... eFiction 3.4.3 used tinyMCE 2.1.0, and 3.5 upgraded that to 3.0.9.

Clarissa Walker authored on 2026/07/28 07:20:33
Showing 1 changed files
... ...
@@ -1,28 +1,14 @@
1
-<html xmlns="http://www.w3.org/1999/xhtml">
2
-<head>
3
-<script language="javascript" src="../../tiny_mce_popup.js"></script>
4
-<script type="text/javascript" src="jscripts/embed.js"></script>
5
-<script type="text/javascript">
6
-tinyMCEPopup.onInit.add(function(ed) {
7
-	var dom = tinyMCEPopup.dom;
8
-
9
-	// Load editor content_css
10
-	tinymce.each(ed.settings.content_css.split(','), function(u) {
11
-		dom.loadCSS(ed.documentBaseURI.toAbsolute(u));
12
-	});
13
-
14
-	// Place contents inside div container
15
-	dom.setHTML('content', ed.getContent());
16
-});
17
-</script>
18
-<title>Example of a custom preview page</title>
19
-</head>
20
-<body>
21
-
22
-Editor contents: <br />
23
-<div id="content">
24
-<!-- Gets filled with editor contents -->
25
-</div>
26
-
27
-</body>
28
-</html>
1
+<html xmlns="http://www.w3.org/1999/xhtml">
2
+<head>
3
+<script language="javascript" src="../../tiny_mce_popup.js"></script>
4
+<script type="text/javascript" src="jscripts/embed.js"></script>
5
+<title>Example of a custom preview page</title>
6
+<link href="{$content_css}" rel="stylesheet" type="text/css" />
7
+</head>
8
+<body>
9
+
10
+Editor contents: <br />
11
+{$content}
12
+
13
+</body>
14
+</html>
Browse code

TinyMCE version directories relocated to /tinymce/ directory, each with its own version numbers: 2, 3, 4 - Slight naming tweak to TinyMCE dropdown in site settings

Clarissa Walker authored on 2026/07/27 13:46:03
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,28 @@
1
+<html xmlns="http://www.w3.org/1999/xhtml">
2
+<head>
3
+<script language="javascript" src="../../tiny_mce_popup.js"></script>
4
+<script type="text/javascript" src="jscripts/embed.js"></script>
5
+<script type="text/javascript">
6
+tinyMCEPopup.onInit.add(function(ed) {
7
+	var dom = tinyMCEPopup.dom;
8
+
9
+	// Load editor content_css
10
+	tinymce.each(ed.settings.content_css.split(','), function(u) {
11
+		dom.loadCSS(ed.documentBaseURI.toAbsolute(u));
12
+	});
13
+
14
+	// Place contents inside div container
15
+	dom.setHTML('content', ed.getContent());
16
+});
17
+</script>
18
+<title>Example of a custom preview page</title>
19
+</head>
20
+<body>
21
+
22
+Editor contents: <br />
23
+<div id="content">
24
+<!-- Gets filled with editor contents -->
25
+</div>
26
+
27
+</body>
28
+</html>