diff src/sceditor.js @ 17:a199722647d0

finish last commit
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 08 Aug 2022 12:28:55 -0600
parents 8bd52902156a
children 1334920263a2
line wrap: on
line diff
--- a/src/sceditor.js	Sun Aug 07 21:41:55 2022 -0600
+++ b/src/sceditor.js	Mon Aug 08 12:28:55 2022 -0600
@@ -2051,7 +2051,7 @@
 
 				editor.createDropDown(caller, 'font-picker', content);
 			},
-			exec: function (editor,caller) {
+			exec: function (editor, caller) {
 				defaultCmds.font._dropDown(editor, caller, function (fontName) {
 					editor.execCommand('fontname', fontName);
 				});
@@ -2078,7 +2078,7 @@
 
 				editor.createDropDown(caller, 'fontsize-picker', content);
 			},
-			exec: function (editor,caller) {
+			exec: function (editor, caller) {
 				defaultCmds.size._dropDown(editor, caller, function (fontSize) {
 					editor.execCommand('fontsize', fontSize);
 				});
@@ -2120,7 +2120,7 @@
 
 				editor.createDropDown(caller, 'color-picker', content);
 			},
-			exec: function (editor,caller) {
+			exec: function (editor, caller) {
 				defaultCmds.color._dropDown(editor, caller, function (color) {
 					editor.execCommand('forecolor', color);
 				});
@@ -2161,7 +2161,7 @@
 		// END_COMMAND
 		// START_COMMAND: Paste Text
 		pastetext: {
-			exec: function (editor,caller) {
+			exec: function (editor, caller) {
 				var	val,
 					content = createElement('div');
 
@@ -2275,7 +2275,7 @@
 
 		// START_COMMAND: Table
 		table: {
-			exec: function (editor,caller) {
+			exec: function (editor, caller) {
 				var	content = createElement('div');
 
 				appendChild(content, _tmpl('table', {
@@ -2363,7 +2363,7 @@
 
 				editor.createDropDown(caller, 'insertimage', content);
 			},
-			exec: function (editor,caller) {
+			exec: function (editor, caller) {
 				defaultCmds.image._dropDown(
 					editor,
 					caller,
@@ -2415,7 +2415,7 @@
 
 				editor.createDropDown(caller, 'insertemail', content);
 			},
-			exec: function (editor,caller) {
+			exec: function (editor, caller) {
 				defaultCmds.email._dropDown(
 					editor,
 					caller,
@@ -2469,7 +2469,7 @@
 
 				editor.createDropDown(caller, 'insertlink', content);
 			},
-			exec: function (editor,caller) {
+			exec: function (editor, caller) {
 				defaultCmds.link._dropDown(editor, caller, function (url, text) {
 					if (text || !editor.getRangeHelper().selectedHtml()) {
 						editor.wysiwygEditorInsertHtml(