changeset 9:9159df67520a

remove "icons" option
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 07 Aug 2022 00:19:52 -0600
parents 292d40f68d50
children 2606bfb75529
files .hgignore src/changes.txt src/examples/min.html src/examples/modified.html src/icons/famfamfam.js src/icons/famfamfam/famfamfam.css src/icons/famfamfam/famfamfam.png src/icons/material.js src/icons/monocons.js src/read_me.html src/sceditor.js src/themes/default.css src/themes/defaultdark.css src/themes/famfamfam.png src/themes/modern.css src/themes/office-toolbar.css src/themes/office.css src/themes/square.css
diffstat 18 files changed, 199 insertions(+), 909 deletions(-) [+]
line wrap: on
line diff
diff -r 292d40f68d50 -r 9159df67520a .hgignore
--- a/.hgignore	Fri Aug 05 12:56:50 2022 -0600
+++ b/.hgignore	Sun Aug 07 00:19:52 2022 -0600
@@ -3,3 +3,4 @@
 .DS_Store
 push.sh
 err
+mine/
diff -r 292d40f68d50 -r 9159df67520a src/changes.txt
--- a/src/changes.txt	Fri Aug 05 12:56:50 2022 -0600
+++ b/src/changes.txt	Sun Aug 07 00:19:52 2022 -0600
@@ -1,6 +1,8 @@
 changes, most recent at top
 
 
+Changing icons required including a javascript file and setting the "icons" option.  This is confusing so I got rid of the "icons" option.  And I added icons/famfamfam.js as an option which is the default.
+
 Added examples/min.html and fixed defaults of 'style', 'width', and 'height'.  'width' defaults to 600 and 'height' defaults to 300.  The dimensions of the textarea aren't used.  This guarantees a reasonable default.
 
 fix emoticonsRoot
diff -r 292d40f68d50 -r 9159df67520a src/examples/min.html
--- a/src/examples/min.html	Fri Aug 05 12:56:50 2022 -0600
+++ b/src/examples/min.html	Sun Aug 07 00:19:52 2022 -0600
@@ -3,7 +3,9 @@
 	<head>
 		<meta name="viewport" content="width=device-width, initial-scale=1">
 
-		<link rel="stylesheet" href="/themes/default.css" />
+		<style>
+			@import "/themes/default.css";
+		</style>
 		  
 		<script src="/sceditor.js"></script>
 		<script src="/icons/monocons.js"></script>
@@ -13,7 +15,6 @@
 				let textarea = document.querySelector('textarea');
 				sceditor.create(textarea, {
 					format: 'bbcode',
-					icons: 'monocons',
 				});
 			}
 		</script>
diff -r 292d40f68d50 -r 9159df67520a src/examples/modified.html
--- a/src/examples/modified.html	Fri Aug 05 12:56:50 2022 -0600
+++ b/src/examples/modified.html	Sun Aug 07 00:19:52 2022 -0600
@@ -9,7 +9,6 @@
 		<link rel="stylesheet" href="/themes/default.css" id="theme-style" />
 		  
 		<script src="/sceditor.js"></script>
-		<script src="/icons/monocons.js"></script>
 		<script src="/formats/bbcode.js"></script>
 
 		<style>
@@ -74,8 +73,6 @@
 			var textarea = document.getElementById('example');
 			sceditor.create(textarea, {
 				format: 'bbcode',
-				icons: 'monocons',
-				style: '/themes/content/default.css',
 			});
 
 
diff -r 292d40f68d50 -r 9159df67520a src/icons/famfamfam.js
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/icons/famfamfam.js	Sun Aug 07 00:19:52 2022 -0600
@@ -0,0 +1,12 @@
+(function (document, sceditor) {
+	'use strict';
+
+	let baseUrl = document.currentScript.getAttribute('src').match(/.*\//)[0];
+
+	sceditor.icons.fn = function() {
+		let cssUrl = baseUrl + 'famfamfam/famfamfam.css';
+		let html = '<style>@import "' + cssUrl + '";</style>';
+		document.head.insertAdjacentHTML('beforeend',html);
+		return {};
+	};
+})(document, sceditor);
diff -r 292d40f68d50 -r 9159df67520a src/icons/famfamfam/famfamfam.css
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/icons/famfamfam/famfamfam.css	Sun Aug 07 00:19:52 2022 -0600
@@ -0,0 +1,145 @@
+/*! SCEditor | (C) 2011-2016, Sam Clarke | sceditor.com/license */
+/**
+ * Default SCEditor
+ * http://www.sceditor.com/
+ *
+ * Copyright (C) 2011-16, Sam Clarke
+ *
+ * SCEditor is licensed under the MIT license:
+ *	http://www.opensource.org/licenses/mit-license.php
+ */
+div.sceditor-grip,
+.sceditor-button div {
+  background-image: url("famfamfam.png");
+  background-repeat: no-repeat;
+  width: 16px;
+  height: 16px;
+}
+.sceditor-button-youtube div {
+  background-position: 0px 0px;
+}
+.sceditor-button-link div {
+  background-position: 0px -16px;
+}
+.sceditor-button-unlink div {
+  background-position: 0px -32px;
+}
+.sceditor-button-underline div {
+  background-position: 0px -48px;
+}
+.sceditor-button-time div {
+  background-position: 0px -64px;
+}
+.sceditor-button-table div {
+  background-position: 0px -80px;
+}
+.sceditor-button-superscript div {
+  background-position: 0px -96px;
+}
+.sceditor-button-subscript div {
+  background-position: 0px -112px;
+}
+.sceditor-button-strike div {
+  background-position: 0px -128px;
+}
+.sceditor-button-source div {
+  background-position: 0px -144px;
+}
+.sceditor-button-size div {
+  background-position: 0px -160px;
+}
+.sceditor-button-rtl div {
+  background-position: 0px -176px;
+}
+.sceditor-button-right div {
+  background-position: 0px -192px;
+}
+.sceditor-button-removeformat div {
+  background-position: 0px -208px;
+}
+.sceditor-button-quote div {
+  background-position: 0px -224px;
+}
+.sceditor-button-print div {
+  background-position: 0px -240px;
+}
+.sceditor-button-pastetext div {
+  background-position: 0px -256px;
+}
+.sceditor-button-paste div {
+  background-position: 0px -272px;
+}
+.sceditor-button-outdent div {
+  background-position: 0px -288px;
+}
+.sceditor-button-orderedlist div {
+  background-position: 0px -304px;
+}
+.sceditor-button-maximize div {
+  background-position: 0px -320px;
+}
+.sceditor-button-ltr div {
+  background-position: 0px -336px;
+}
+.sceditor-button-left div {
+  background-position: 0px -352px;
+}
+.sceditor-button-justify div {
+  background-position: 0px -368px;
+}
+.sceditor-button-italic div {
+  background-position: 0px -384px;
+}
+.sceditor-button-indent div {
+  background-position: 0px -400px;
+}
+.sceditor-button-image div {
+  background-position: 0px -416px;
+}
+.sceditor-button-horizontalrule div {
+  background-position: 0px -432px;
+}
+.sceditor-button-format div {
+  background-position: 0px -448px;
+}
+.sceditor-button-font div {
+  background-position: 0px -464px;
+}
+.sceditor-button-emoticon div {
+  background-position: 0px -480px;
+}
+.sceditor-button-email div {
+  background-position: 0px -496px;
+}
+.sceditor-button-date div {
+  background-position: 0px -512px;
+}
+.sceditor-button-cut div {
+  background-position: 0px -528px;
+}
+.sceditor-button-copy div {
+  background-position: 0px -544px;
+}
+.sceditor-button-color div {
+  background-position: 0px -560px;
+}
+.sceditor-button-code div {
+  background-position: 0px -576px;
+}
+.sceditor-button-center div {
+  background-position: 0px -592px;
+}
+.sceditor-button-bulletlist div {
+  background-position: 0px -608px;
+}
+.sceditor-button-bold div {
+  background-position: 0px -624px;
+}
+div.sceditor-grip {
+  background-position: 0px -640px;
+  width: 10px;
+  height: 10px;
+}
+.rtl div.sceditor-grip {
+  background-position: 0px -650px;
+}
diff -r 292d40f68d50 -r 9159df67520a src/icons/famfamfam/famfamfam.png
Binary file src/icons/famfamfam/famfamfam.png has changed
diff -r 292d40f68d50 -r 9159df67520a src/icons/material.js
--- a/src/icons/material.js	Fri Aug 05 12:56:50 2022 -0600
+++ b/src/icons/material.js	Sun Aug 07 00:19:52 2022 -0600
@@ -77,7 +77,7 @@
 		'youtube': '<path d="M10,16.5V7.5L16,12M20,4.4C19.4,4.2 15.7,4 12,4C8.3,4 4.6,4.19 4,4.38C2.44,4.9 2,8.4 2,12C2,15.59 2.44,19.1 4,19.61C4.6,19.81 8.3,20 12,20C15.7,20 19.4,19.81 20,19.61C21.56,19.1 22,15.59 22,12C22,8.4 21.56,4.91 20,4.4Z" />'
 	};
 
-	sceditor.icons.material = function () {
+	sceditor.icons.fn = function () {
 		var nodes = {};
 
 		var colorPath;
@@ -128,5 +128,5 @@
 		};
 	};
 
-	sceditor.icons.material.icons = icons;
+	sceditor.icons.fn.icons = icons;
 })(document, sceditor);
diff -r 292d40f68d50 -r 9159df67520a src/icons/monocons.js
--- a/src/icons/monocons.js	Fri Aug 05 12:56:50 2022 -0600
+++ b/src/icons/monocons.js	Sun Aug 07 00:19:52 2022 -0600
@@ -61,7 +61,7 @@
 		'youtube': '<path d="M2 2C1 2 0 3 0 4v8c0 1 1 2 2 2h12c1 0 2-1 2-2V4c0-1-1-2-2-2H2zm4 3l6 3-6 3V5z"/>'
 	};
 
-	sceditor.icons.monocons = function () {
+	sceditor.icons.fn = function () {
 		var nodes = {};
 		var colorPath;
 
@@ -108,5 +108,5 @@
 		};
 	};
 
-	sceditor.icons.monocons.icons = icons;
+	sceditor.icons.fn.icons = icons;
 })(document, sceditor);
diff -r 292d40f68d50 -r 9159df67520a src/read_me.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/read_me.html	Sun Aug 07 00:19:52 2022 -0600
@@ -0,0 +1,23 @@
+<!doctype html>
+<html>
+	<head>
+		<meta name="viewport" content="width=device-width, initial-scale=1">
+		<style>
+			body {
+				font-family: Sans-Serif;
+			}
+
+			a {
+				text-decoration: none;
+			}
+			a:hover {
+				text-decoration: underline;
+			}
+		</style>
+	</head>
+	<body>
+		<h1>SCEditor - Reactionary Edition</h1>
+
+		<p>Forked from <a href="https://www.sceditor.com/">SCEditor</a>.  Also see <a href="http://www.reactionary.software/wysiwyg.html">this</a>.</p>
+	</body>
+</html>
diff -r 292d40f68d50 -r 9159df67520a src/sceditor.js
--- a/src/sceditor.js	Fri Aug 05 12:56:50 2022 -0600
+++ b/src/sceditor.js	Sun Aug 07 00:19:52 2022 -0600
@@ -6138,9 +6138,7 @@
 				unselectable: 'on'
 			});
 
-			if (options.icons in SCEditor.icons) {
-				icons = new SCEditor.icons[options.icons]();
-			}
+			icons = SCEditor.icons.fn();
 
 			each(groups, function (_, menuItems) {
 				group = createElement('div', {
@@ -8934,6 +8932,14 @@
 	SCEditor.formats = {};
 	SCEditor.icons = {};
 
+	// default icons
+	SCEditor.icons.fn = function() {
+		let cssUrl = baseUrl + 'icons/famfamfam/famfamfam.css';
+		let html = '<style>@import "' + cssUrl + '";</style>';
+		document.head.insertAdjacentHTML('beforeend',html);
+		return {};
+	};
+
 
 	/**
 	 * Static command helper class
diff -r 292d40f68d50 -r 9159df67520a src/themes/default.css
--- a/src/themes/default.css	Fri Aug 05 12:56:50 2022 -0600
+++ b/src/themes/default.css	Sun Aug 07 00:19:52 2022 -0600
@@ -1,148 +1,3 @@
-/*! SCEditor | (C) 2011-2016, Sam Clarke | sceditor.com/license */
-/**
- * Default SCEditor
- * http://www.sceditor.com/
- *
- * Copyright (C) 2011-16, Sam Clarke
- *
- * SCEditor is licensed under the MIT license:
- *	http://www.opensource.org/licenses/mit-license.php
- */
-div.sceditor-grip,
-.sceditor-button div {
-  background-image: url("famfamfam.png");
-  background-repeat: no-repeat;
-  width: 16px;
-  height: 16px;
-}
-.sceditor-button-youtube div {
-  background-position: 0px 0px;
-}
-.sceditor-button-link div {
-  background-position: 0px -16px;
-}
-.sceditor-button-unlink div {
-  background-position: 0px -32px;
-}
-.sceditor-button-underline div {
-  background-position: 0px -48px;
-}
-.sceditor-button-time div {
-  background-position: 0px -64px;
-}
-.sceditor-button-table div {
-  background-position: 0px -80px;
-}
-.sceditor-button-superscript div {
-  background-position: 0px -96px;
-}
-.sceditor-button-subscript div {
-  background-position: 0px -112px;
-}
-.sceditor-button-strike div {
-  background-position: 0px -128px;
-}
-.sceditor-button-source div {
-  background-position: 0px -144px;
-}
-.sceditor-button-size div {
-  background-position: 0px -160px;
-}
-.sceditor-button-rtl div {
-  background-position: 0px -176px;
-}
-.sceditor-button-right div {
-  background-position: 0px -192px;
-}
-.sceditor-button-removeformat div {
-  background-position: 0px -208px;
-}
-.sceditor-button-quote div {
-  background-position: 0px -224px;
-}
-.sceditor-button-print div {
-  background-position: 0px -240px;
-}
-.sceditor-button-pastetext div {
-  background-position: 0px -256px;
-}
-.sceditor-button-paste div {
-  background-position: 0px -272px;
-}
-.sceditor-button-outdent div {
-  background-position: 0px -288px;
-}
-.sceditor-button-orderedlist div {
-  background-position: 0px -304px;
-}
-.sceditor-button-maximize div {
-  background-position: 0px -320px;
-}
-.sceditor-button-ltr div {
-  background-position: 0px -336px;
-}
-.sceditor-button-left div {
-  background-position: 0px -352px;
-}
-.sceditor-button-justify div {
-  background-position: 0px -368px;
-}
-.sceditor-button-italic div {
-  background-position: 0px -384px;
-}
-.sceditor-button-indent div {
-  background-position: 0px -400px;
-}
-.sceditor-button-image div {
-  background-position: 0px -416px;
-}
-.sceditor-button-horizontalrule div {
-  background-position: 0px -432px;
-}
-.sceditor-button-format div {
-  background-position: 0px -448px;
-}
-.sceditor-button-font div {
-  background-position: 0px -464px;
-}
-.sceditor-button-emoticon div {
-  background-position: 0px -480px;
-}
-.sceditor-button-email div {
-  background-position: 0px -496px;
-}
-.sceditor-button-date div {
-  background-position: 0px -512px;
-}
-.sceditor-button-cut div {
-  background-position: 0px -528px;
-}
-.sceditor-button-copy div {
-  background-position: 0px -544px;
-}
-.sceditor-button-color div {
-  background-position: 0px -560px;
-}
-.sceditor-button-code div {
-  background-position: 0px -576px;
-}
-.sceditor-button-center div {
-  background-position: 0px -592px;
-}
-.sceditor-button-bulletlist div {
-  background-position: 0px -608px;
-}
-.sceditor-button-bold div {
-  background-position: 0px -624px;
-}
-div.sceditor-grip {
-  background-position: 0px -640px;
-  width: 10px;
-  height: 10px;
-}
-.rtl div.sceditor-grip {
-  background-position: 0px -650px;
-}
 /**
  * SCEditor
  * http://www.sceditor.com/
diff -r 292d40f68d50 -r 9159df67520a src/themes/defaultdark.css
--- a/src/themes/defaultdark.css	Fri Aug 05 12:56:50 2022 -0600
+++ b/src/themes/defaultdark.css	Sun Aug 07 00:19:52 2022 -0600
@@ -1,148 +1,3 @@
-/*! SCEditor | (C) 2017, Sam Clarke | sceditor.com/license */
-/**
- * Default SCEditor
- * http://www.sceditor.com/
- *
- * Copyright (C) 2017, Sam Clarke
- *
- * SCEditor is licensed under the MIT license:
- *	http://www.opensource.org/licenses/mit-license.php
- */
-div.sceditor-grip,
-.sceditor-button div {
-  background-image: url("famfamfam.png");
-  background-repeat: no-repeat;
-  width: 16px;
-  height: 16px;
-}
-.sceditor-button-youtube div {
-  background-position: 0px 0px;
-}
-.sceditor-button-link div {
-  background-position: 0px -16px;
-}
-.sceditor-button-unlink div {
-  background-position: 0px -32px;
-}
-.sceditor-button-underline div {
-  background-position: 0px -48px;
-}
-.sceditor-button-time div {
-  background-position: 0px -64px;
-}
-.sceditor-button-table div {
-  background-position: 0px -80px;
-}
-.sceditor-button-superscript div {
-  background-position: 0px -96px;
-}
-.sceditor-button-subscript div {
-  background-position: 0px -112px;
-}
-.sceditor-button-strike div {
-  background-position: 0px -128px;
-}
-.sceditor-button-source div {
-  background-position: 0px -144px;
-}
-.sceditor-button-size div {
-  background-position: 0px -160px;
-}
-.sceditor-button-rtl div {
-  background-position: 0px -176px;
-}
-.sceditor-button-right div {
-  background-position: 0px -192px;
-}
-.sceditor-button-removeformat div {
-  background-position: 0px -208px;
-}
-.sceditor-button-quote div {
-  background-position: 0px -224px;
-}
-.sceditor-button-print div {
-  background-position: 0px -240px;
-}
-.sceditor-button-pastetext div {
-  background-position: 0px -256px;
-}
-.sceditor-button-paste div {
-  background-position: 0px -272px;
-}
-.sceditor-button-outdent div {
-  background-position: 0px -288px;
-}
-.sceditor-button-orderedlist div {
-  background-position: 0px -304px;
-}
-.sceditor-button-maximize div {
-  background-position: 0px -320px;
-}
-.sceditor-button-ltr div {
-  background-position: 0px -336px;
-}
-.sceditor-button-left div {
-  background-position: 0px -352px;
-}
-.sceditor-button-justify div {
-  background-position: 0px -368px;
-}
-.sceditor-button-italic div {
-  background-position: 0px -384px;
-}
-.sceditor-button-indent div {
-  background-position: 0px -400px;
-}
-.sceditor-button-image div {
-  background-position: 0px -416px;
-}
-.sceditor-button-horizontalrule div {
-  background-position: 0px -432px;
-}
-.sceditor-button-format div {
-  background-position: 0px -448px;
-}
-.sceditor-button-font div {
-  background-position: 0px -464px;
-}
-.sceditor-button-emoticon div {
-  background-position: 0px -480px;
-}
-.sceditor-button-email div {
-  background-position: 0px -496px;
-}
-.sceditor-button-date div {
-  background-position: 0px -512px;
-}
-.sceditor-button-cut div {
-  background-position: 0px -528px;
-}
-.sceditor-button-copy div {
-  background-position: 0px -544px;
-}
-.sceditor-button-color div {
-  background-position: 0px -560px;
-}
-.sceditor-button-code div {
-  background-position: 0px -576px;
-}
-.sceditor-button-center div {
-  background-position: 0px -592px;
-}
-.sceditor-button-bulletlist div {
-  background-position: 0px -608px;
-}
-.sceditor-button-bold div {
-  background-position: 0px -624px;
-}
-div.sceditor-grip {
-  background-position: 0px -640px;
-  width: 10px;
-  height: 10px;
-}
-.rtl div.sceditor-grip {
-  background-position: 0px -650px;
-}
 /**
  * SCEditor
  * http://www.sceditor.com/
diff -r 292d40f68d50 -r 9159df67520a src/themes/famfamfam.png
Binary file src/themes/famfamfam.png has changed
diff -r 292d40f68d50 -r 9159df67520a src/themes/modern.css
--- a/src/themes/modern.css	Fri Aug 05 12:56:50 2022 -0600
+++ b/src/themes/modern.css	Sun Aug 07 00:19:52 2022 -0600
@@ -9,151 +9,6 @@
  * Icons by Mark James (http://www.famfamfam.com/lab/icons/silk/)
  * Licensed under the Creative Commons CC-BY license (http://creativecommons.org/licenses/by/3.0/)
  */
-/*! SCEditor | (C) 2011-2016, Sam Clarke | sceditor.com/license */
-/**
- * Default SCEditor
- * http://www.sceditor.com/
- *
- * Copyright (C) 2011-16, Sam Clarke
- *
- * SCEditor is licensed under the MIT license:
- *	http://www.opensource.org/licenses/mit-license.php
- */
-div.sceditor-grip,
-.sceditor-button div {
-  background-image: url("famfamfam.png");
-  background-repeat: no-repeat;
-  width: 16px;
-  height: 16px;
-}
-.sceditor-button-youtube div {
-  background-position: 0px 0px;
-}
-.sceditor-button-link div {
-  background-position: 0px -16px;
-}
-.sceditor-button-unlink div {
-  background-position: 0px -32px;
-}
-.sceditor-button-underline div {
-  background-position: 0px -48px;
-}
-.sceditor-button-time div {
-  background-position: 0px -64px;
-}
-.sceditor-button-table div {
-  background-position: 0px -80px;
-}
-.sceditor-button-superscript div {
-  background-position: 0px -96px;
-}
-.sceditor-button-subscript div {
-  background-position: 0px -112px;
-}
-.sceditor-button-strike div {
-  background-position: 0px -128px;
-}
-.sceditor-button-source div {
-  background-position: 0px -144px;
-}
-.sceditor-button-size div {
-  background-position: 0px -160px;
-}
-.sceditor-button-rtl div {
-  background-position: 0px -176px;
-}
-.sceditor-button-right div {
-  background-position: 0px -192px;
-}
-.sceditor-button-removeformat div {
-  background-position: 0px -208px;
-}
-.sceditor-button-quote div {
-  background-position: 0px -224px;
-}
-.sceditor-button-print div {
-  background-position: 0px -240px;
-}
-.sceditor-button-pastetext div {
-  background-position: 0px -256px;
-}
-.sceditor-button-paste div {
-  background-position: 0px -272px;
-}
-.sceditor-button-outdent div {
-  background-position: 0px -288px;
-}
-.sceditor-button-orderedlist div {
-  background-position: 0px -304px;
-}
-.sceditor-button-maximize div {
-  background-position: 0px -320px;
-}
-.sceditor-button-ltr div {
-  background-position: 0px -336px;
-}
-.sceditor-button-left div {
-  background-position: 0px -352px;
-}
-.sceditor-button-justify div {
-  background-position: 0px -368px;
-}
-.sceditor-button-italic div {
-  background-position: 0px -384px;
-}
-.sceditor-button-indent div {
-  background-position: 0px -400px;
-}
-.sceditor-button-image div {
-  background-position: 0px -416px;
-}
-.sceditor-button-horizontalrule div {
-  background-position: 0px -432px;
-}
-.sceditor-button-format div {
-  background-position: 0px -448px;
-}
-.sceditor-button-font div {
-  background-position: 0px -464px;
-}
-.sceditor-button-emoticon div {
-  background-position: 0px -480px;
-}
-.sceditor-button-email div {
-  background-position: 0px -496px;
-}
-.sceditor-button-date div {
-  background-position: 0px -512px;
-}
-.sceditor-button-cut div {
-  background-position: 0px -528px;
-}
-.sceditor-button-copy div {
-  background-position: 0px -544px;
-}
-.sceditor-button-color div {
-  background-position: 0px -560px;
-}
-.sceditor-button-code div {
-  background-position: 0px -576px;
-}
-.sceditor-button-center div {
-  background-position: 0px -592px;
-}
-.sceditor-button-bulletlist div {
-  background-position: 0px -608px;
-}
-.sceditor-button-bold div {
-  background-position: 0px -624px;
-}
-div.sceditor-grip {
-  background-position: 0px -640px;
-  width: 10px;
-  height: 10px;
-}
-.rtl div.sceditor-grip {
-  background-position: 0px -650px;
-}
 /**
  * SCEditor
  * http://www.sceditor.com/
diff -r 292d40f68d50 -r 9159df67520a src/themes/office-toolbar.css
--- a/src/themes/office-toolbar.css	Fri Aug 05 12:56:50 2022 -0600
+++ b/src/themes/office-toolbar.css	Sun Aug 07 00:19:52 2022 -0600
@@ -1,157 +1,3 @@
-/**
- * Copyright (C) 2012, Sam Clarke (samclarke.com)
- *
- * SCEditor is licensed under the MIT license:
- *	http://www.opensource.org/licenses/mit-license.php
- *
- * Icons by Mark James (http://www.famfamfam.com/lab/icons/silk/)
- * Licensed under the Creative Commons CC-BY license (http://creativecommons.org/licenses/by/3.0/)
- */
-/*! SCEditor | (C) 2011-2016, Sam Clarke | sceditor.com/license */
-/**
- * Default SCEditor
- * http://www.sceditor.com/
- *
- * Copyright (C) 2011-16, Sam Clarke
- *
- * SCEditor is licensed under the MIT license:
- *	http://www.opensource.org/licenses/mit-license.php
- */
-div.sceditor-grip,
-.sceditor-button div {
-  background-image: url("famfamfam.png");
-  background-repeat: no-repeat;
-  width: 16px;
-  height: 16px;
-}
-.sceditor-button-youtube div {
-  background-position: 0px 0px;
-}
-.sceditor-button-link div {
-  background-position: 0px -16px;
-}
-.sceditor-button-unlink div {
-  background-position: 0px -32px;
-}
-.sceditor-button-underline div {
-  background-position: 0px -48px;
-}
-.sceditor-button-time div {
-  background-position: 0px -64px;
-}
-.sceditor-button-table div {
-  background-position: 0px -80px;
-}
-.sceditor-button-superscript div {
-  background-position: 0px -96px;
-}
-.sceditor-button-subscript div {
-  background-position: 0px -112px;
-}
-.sceditor-button-strike div {
-  background-position: 0px -128px;
-}
-.sceditor-button-source div {
-  background-position: 0px -144px;
-}
-.sceditor-button-size div {
-  background-position: 0px -160px;
-}
-.sceditor-button-rtl div {
-  background-position: 0px -176px;
-}
-.sceditor-button-right div {
-  background-position: 0px -192px;
-}
-.sceditor-button-removeformat div {
-  background-position: 0px -208px;
-}
-.sceditor-button-quote div {
-  background-position: 0px -224px;
-}
-.sceditor-button-print div {
-  background-position: 0px -240px;
-}
-.sceditor-button-pastetext div {
-  background-position: 0px -256px;
-}
-.sceditor-button-paste div {
-  background-position: 0px -272px;
-}
-.sceditor-button-outdent div {
-  background-position: 0px -288px;
-}
-.sceditor-button-orderedlist div {
-  background-position: 0px -304px;
-}
-.sceditor-button-maximize div {
-  background-position: 0px -320px;
-}
-.sceditor-button-ltr div {
-  background-position: 0px -336px;
-}
-.sceditor-button-left div {
-  background-position: 0px -352px;
-}
-.sceditor-button-justify div {
-  background-position: 0px -368px;
-}
-.sceditor-button-italic div {
-  background-position: 0px -384px;
-}
-.sceditor-button-indent div {
-  background-position: 0px -400px;
-}
-.sceditor-button-image div {
-  background-position: 0px -416px;
-}
-.sceditor-button-horizontalrule div {
-  background-position: 0px -432px;
-}
-.sceditor-button-format div {
-  background-position: 0px -448px;
-}
-.sceditor-button-font div {
-  background-position: 0px -464px;
-}
-.sceditor-button-emoticon div {
-  background-position: 0px -480px;
-}
-.sceditor-button-email div {
-  background-position: 0px -496px;
-}
-.sceditor-button-date div {
-  background-position: 0px -512px;
-}
-.sceditor-button-cut div {
-  background-position: 0px -528px;
-}
-.sceditor-button-copy div {
-  background-position: 0px -544px;
-}
-.sceditor-button-color div {
-  background-position: 0px -560px;
-}
-.sceditor-button-code div {
-  background-position: 0px -576px;
-}
-.sceditor-button-center div {
-  background-position: 0px -592px;
-}
-.sceditor-button-bulletlist div {
-  background-position: 0px -608px;
-}
-.sceditor-button-bold div {
-  background-position: 0px -624px;
-}
-div.sceditor-grip {
-  background-position: 0px -640px;
-  width: 10px;
-  height: 10px;
-}
-.rtl div.sceditor-grip {
-  background-position: 0px -650px;
-}
 /**
  * SCEditor
  * http://www.sceditor.com/
diff -r 292d40f68d50 -r 9159df67520a src/themes/office.css
--- a/src/themes/office.css	Fri Aug 05 12:56:50 2022 -0600
+++ b/src/themes/office.css	Sun Aug 07 00:19:52 2022 -0600
@@ -1,166 +1,3 @@
-/**
- * Copyright (C) 2012, Sam Clarke (samclarke.com)
- *
- * SCEditor is licensed under the MIT license:
- *	http://www.opensource.org/licenses/mit-license.php
- *
- * Icons by Mark James (http://www.famfamfam.com/lab/icons/silk/)
- * Licensed under the Creative Commons CC-BY license (http://creativecommons.org/licenses/by/3.0/)
- */
-/**
- * Copyright (C) 2012, Sam Clarke (samclarke.com)
- *
- * SCEditor is licensed under the MIT license:
- *	http://www.opensource.org/licenses/mit-license.php
- *
- * Icons by Mark James (http://www.famfamfam.com/lab/icons/silk/)
- * Licensed under the Creative Commons CC-BY license (http://creativecommons.org/licenses/by/3.0/)
- */
-/*! SCEditor | (C) 2011-2016, Sam Clarke | sceditor.com/license */
-/**
- * Default SCEditor
- * http://www.sceditor.com/
- *
- * Copyright (C) 2011-16, Sam Clarke
- *
- * SCEditor is licensed under the MIT license:
- *	http://www.opensource.org/licenses/mit-license.php
- */
-div.sceditor-grip,
-.sceditor-button div {
-  background-image: url("famfamfam.png");
-  background-repeat: no-repeat;
-  width: 16px;
-  height: 16px;
-}
-.sceditor-button-youtube div {
-  background-position: 0px 0px;
-}
-.sceditor-button-link div {
-  background-position: 0px -16px;
-}
-.sceditor-button-unlink div {
-  background-position: 0px -32px;
-}
-.sceditor-button-underline div {
-  background-position: 0px -48px;
-}
-.sceditor-button-time div {
-  background-position: 0px -64px;
-}
-.sceditor-button-table div {
-  background-position: 0px -80px;
-}
-.sceditor-button-superscript div {
-  background-position: 0px -96px;
-}
-.sceditor-button-subscript div {
-  background-position: 0px -112px;
-}
-.sceditor-button-strike div {
-  background-position: 0px -128px;
-}
-.sceditor-button-source div {
-  background-position: 0px -144px;
-}
-.sceditor-button-size div {
-  background-position: 0px -160px;
-}
-.sceditor-button-rtl div {
-  background-position: 0px -176px;
-}
-.sceditor-button-right div {
-  background-position: 0px -192px;
-}
-.sceditor-button-removeformat div {
-  background-position: 0px -208px;
-}
-.sceditor-button-quote div {
-  background-position: 0px -224px;
-}
-.sceditor-button-print div {
-  background-position: 0px -240px;
-}
-.sceditor-button-pastetext div {
-  background-position: 0px -256px;
-}
-.sceditor-button-paste div {
-  background-position: 0px -272px;
-}
-.sceditor-button-outdent div {
-  background-position: 0px -288px;
-}
-.sceditor-button-orderedlist div {
-  background-position: 0px -304px;
-}
-.sceditor-button-maximize div {
-  background-position: 0px -320px;
-}
-.sceditor-button-ltr div {
-  background-position: 0px -336px;
-}
-.sceditor-button-left div {
-  background-position: 0px -352px;
-}
-.sceditor-button-justify div {
-  background-position: 0px -368px;
-}
-.sceditor-button-italic div {
-  background-position: 0px -384px;
-}
-.sceditor-button-indent div {
-  background-position: 0px -400px;
-}
-.sceditor-button-image div {
-  background-position: 0px -416px;
-}
-.sceditor-button-horizontalrule div {
-  background-position: 0px -432px;
-}
-.sceditor-button-format div {
-  background-position: 0px -448px;
-}
-.sceditor-button-font div {
-  background-position: 0px -464px;
-}
-.sceditor-button-emoticon div {
-  background-position: 0px -480px;
-}
-.sceditor-button-email div {
-  background-position: 0px -496px;
-}
-.sceditor-button-date div {
-  background-position: 0px -512px;
-}
-.sceditor-button-cut div {
-  background-position: 0px -528px;
-}
-.sceditor-button-copy div {
-  background-position: 0px -544px;
-}
-.sceditor-button-color div {
-  background-position: 0px -560px;
-}
-.sceditor-button-code div {
-  background-position: 0px -576px;
-}
-.sceditor-button-center div {
-  background-position: 0px -592px;
-}
-.sceditor-button-bulletlist div {
-  background-position: 0px -608px;
-}
-.sceditor-button-bold div {
-  background-position: 0px -624px;
-}
-div.sceditor-grip {
-  background-position: 0px -640px;
-  width: 10px;
-  height: 10px;
-}
-.rtl div.sceditor-grip {
-  background-position: 0px -650px;
-}
 /**
  * SCEditor
  * http://www.sceditor.com/
diff -r 292d40f68d50 -r 9159df67520a src/themes/square.css
--- a/src/themes/square.css	Fri Aug 05 12:56:50 2022 -0600
+++ b/src/themes/square.css	Sun Aug 07 00:19:52 2022 -0600
@@ -12,151 +12,6 @@
  * Icons by Mark James (http://www.famfamfam.com/lab/icons/silk/)
  * Licensed under the Creative Commons CC-BY license (http://creativecommons.org/licenses/by/3.0/)
  */
-/*! SCEditor | (C) 2011-2016, Sam Clarke | sceditor.com/license */
-/**
- * Default SCEditor
- * http://www.sceditor.com/
- *
- * Copyright (C) 2011-16, Sam Clarke
- *
- * SCEditor is licensed under the MIT license:
- *	http://www.opensource.org/licenses/mit-license.php
- */
-div.sceditor-grip,
-.sceditor-button div {
-  background-image: url("famfamfam.png");
-  background-repeat: no-repeat;
-  width: 16px;
-  height: 16px;
-}
-.sceditor-button-youtube div {
-  background-position: 0px 0px;
-}
-.sceditor-button-link div {
-  background-position: 0px -16px;
-}
-.sceditor-button-unlink div {
-  background-position: 0px -32px;
-}
-.sceditor-button-underline div {
-  background-position: 0px -48px;
-}
-.sceditor-button-time div {
-  background-position: 0px -64px;
-}
-.sceditor-button-table div {
-  background-position: 0px -80px;
-}
-.sceditor-button-superscript div {
-  background-position: 0px -96px;
-}
-.sceditor-button-subscript div {
-  background-position: 0px -112px;
-}
-.sceditor-button-strike div {
-  background-position: 0px -128px;
-}
-.sceditor-button-source div {
-  background-position: 0px -144px;
-}
-.sceditor-button-size div {
-  background-position: 0px -160px;
-}
-.sceditor-button-rtl div {
-  background-position: 0px -176px;
-}
-.sceditor-button-right div {
-  background-position: 0px -192px;
-}
-.sceditor-button-removeformat div {
-  background-position: 0px -208px;
-}
-.sceditor-button-quote div {
-  background-position: 0px -224px;
-}
-.sceditor-button-print div {
-  background-position: 0px -240px;
-}
-.sceditor-button-pastetext div {
-  background-position: 0px -256px;
-}
-.sceditor-button-paste div {
-  background-position: 0px -272px;
-}
-.sceditor-button-outdent div {
-  background-position: 0px -288px;
-}
-.sceditor-button-orderedlist div {
-  background-position: 0px -304px;
-}
-.sceditor-button-maximize div {
-  background-position: 0px -320px;
-}
-.sceditor-button-ltr div {
-  background-position: 0px -336px;
-}
-.sceditor-button-left div {
-  background-position: 0px -352px;
-}
-.sceditor-button-justify div {
-  background-position: 0px -368px;
-}
-.sceditor-button-italic div {
-  background-position: 0px -384px;
-}
-.sceditor-button-indent div {
-  background-position: 0px -400px;
-}
-.sceditor-button-image div {
-  background-position: 0px -416px;
-}
-.sceditor-button-horizontalrule div {
-  background-position: 0px -432px;
-}
-.sceditor-button-format div {
-  background-position: 0px -448px;
-}
-.sceditor-button-font div {
-  background-position: 0px -464px;
-}
-.sceditor-button-emoticon div {
-  background-position: 0px -480px;
-}
-.sceditor-button-email div {
-  background-position: 0px -496px;
-}
-.sceditor-button-date div {
-  background-position: 0px -512px;
-}
-.sceditor-button-cut div {
-  background-position: 0px -528px;
-}
-.sceditor-button-copy div {
-  background-position: 0px -544px;
-}
-.sceditor-button-color div {
-  background-position: 0px -560px;
-}
-.sceditor-button-code div {
-  background-position: 0px -576px;
-}
-.sceditor-button-center div {
-  background-position: 0px -592px;
-}
-.sceditor-button-bulletlist div {
-  background-position: 0px -608px;
-}
-.sceditor-button-bold div {
-  background-position: 0px -624px;
-}
-div.sceditor-grip {
-  background-position: 0px -640px;
-  width: 10px;
-  height: 10px;
-}
-.rtl div.sceditor-grip {
-  background-position: 0px -650px;
-}
 /**
  * SCEditor
  * http://www.sceditor.com/