diff src/example.html @ 4:b7725dab7482

move /development/* to /
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 04 Aug 2022 17:59:02 -0600
parents c7c738ddbbf8
children
line wrap: on
line diff
--- a/src/example.html	Thu Aug 04 17:53:43 2022 -0600
+++ b/src/example.html	Thu Aug 04 17:59:02 2022 -0600
@@ -5,11 +5,11 @@
 
 		<title>SCEditor Demo</title>
 
-		<link rel="stylesheet" href="development/themes/default.css" id="theme-style" />
+		<link rel="stylesheet" href="/themes/default.css" id="theme-style" />
 		  
-		<script src="development/sceditor.js"></script>
-		<script src="development/icons/monocons.js"></script>
-		<script src="development/formats/bbcode.js"></script>
+		<script src="/sceditor.js"></script>
+		<script src="/icons/monocons.js"></script>
+		<script src="/formats/bbcode.js"></script>
 
 		<style>
 			html {
@@ -74,13 +74,13 @@
 			sceditor.create(textarea, {
 				format: 'bbcode',
 				icons: 'monocons',
-				style: 'development/themes/content/default.css'
+				style: '/themes/content/default.css'
 			});
 
 
 			var themeInput = document.getElementById('theme');
 			themeInput.onchange = function() {
-				var theme = 'development/themes/' + themeInput.value + '.css';
+				var theme = '/themes/' + themeInput.value + '.css';
 
 				document.getElementById('theme-style').href = theme;
 			};