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,12 +1,23 @@
1
-<html xmlns="http://www.w3.org/1999/xhtml">
2
-<head>
3
-	<title>blank_page</title>
4
-	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
5
-	<script type="text/javascript">
6
-		parent.TemplateDialog.loadCSSFiles(document);
7
-	</script>
8
-</head>
9
-<body id="mceTemplatePreview" class="mceContentBody">
10
-
11
-</body>
12
-</html>
1
+<html xmlns="http://www.w3.org/1999/xhtml">
2
+<head>
3
+	<title>blank_page</title>
4
+	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
5
+	<script type="text/javascript">
6
+		var tinyMCE = parent.tinyMCE, css = tinyMCE.getParam("content_css").split(','), i, u;
7
+
8
+		// Load content CSS files
9
+		for (i=0; i<css.length; i++) {
10
+			u = css[i];
11
+
12
+			// Fix relative
13
+			if (u.charAt(0) != '/' && u.indexOf('://') == -1)
14
+				u = tinyMCE.documentBasePath + "/" + u;
15
+
16
+			document.write('<link href="' + u + '" rel="stylesheet" type="text/css" />');
17
+		}
18
+	</script>
19
+</head>
20
+<body id="mceTemplatePreview" class="mceContentBody">
21
+
22
+</body>
23
+</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,12 @@
1
+<html xmlns="http://www.w3.org/1999/xhtml">
2
+<head>
3
+	<title>blank_page</title>
4
+	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
5
+	<script type="text/javascript">
6
+		parent.TemplateDialog.loadCSSFiles(document);
7
+	</script>
8
+</head>
9
+<body id="mceTemplatePreview" class="mceContentBody">
10
+
11
+</body>
12
+</html>