Mercurial Hosting > sceditor
diff src/formats/xhtml.js @ 17:a199722647d0
finish last commit
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 08 Aug 2022 12:28:55 -0600 |
parents | 0cb206904499 |
children | 80a86fb8f2b7 |
line wrap: on
line diff
--- a/src/formats/xhtml.js Sun Aug 07 21:41:55 2022 -0600 +++ b/src/formats/xhtml.js Mon Aug 08 12:28:55 2022 -0600 @@ -58,9 +58,7 @@ txtExec: ['<div style="text-align:justify;">', '</div>'] }, font: { - txtExec: function (caller) { - var editor = this; - + txtExec: function (editor, caller) { getEditorCommand('font')._dropDown( editor, caller, @@ -72,9 +70,7 @@ } }, size: { - txtExec: function (caller) { - var editor = this; - + txtExec: function (editor, caller) { getEditorCommand('size')._dropDown( editor, caller, @@ -86,9 +82,7 @@ } }, color: { - txtExec: function (caller) { - var editor = this; - + txtExec: function (editor, caller) { getEditorCommand('color')._dropDown( editor, caller, @@ -115,9 +109,7 @@ txtExec: ['<code>', '</code>'] }, image: { - txtExec: function (caller, selected) { - var editor = this; - + txtExec: function (editor, caller, selected) { getEditorCommand('image')._dropDown( editor, caller, @@ -141,9 +133,7 @@ } }, email: { - txtExec: function (caller, selected) { - var editor = this; - + txtExec: function (editor, caller, selected) { getEditorCommand('email')._dropDown( editor, caller, @@ -158,9 +148,7 @@ } }, link: { - txtExec: function (caller, selected) { - var editor = this; - + txtExec: function (editor, caller, selected) { getEditorCommand('link')._dropDown( editor, caller, @@ -178,9 +166,7 @@ txtExec: ['<blockquote>', '</blockquote>'] }, youtube: { - txtExec: function (caller) { - var editor = this; - + txtExec: function (editor, caller) { getEditorCommand('youtube')._dropDown( editor, caller,