diff src/plugins/format.js @ 17:a199722647d0

finish last commit
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 08 Aug 2022 12:28:55 -0600
parents b7725dab7482
children ea32a44b5a6e
line wrap: on
line diff
--- a/src/plugins/format.js	Sun Aug 07 21:41:55 2022 -0600
+++ b/src/plugins/format.js	Mon Aug 08 12:28:55 2022 -0600
@@ -98,9 +98,8 @@
 		 * @param  {node} caller
 		 * @private
 		 */
-		formatCmd = function (caller) {
-			var	editor   = this,
-				content = document.createElement('div');
+		formatCmd = function (editor, caller) {
+			var	content = document.createElement('div');
 
 			sceditor.utils.each(tags, function (tag, val) {
 				var link = document.createElement('a');