comparison 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
comparison
equal deleted inserted replaced
16:8bd52902156a 17:a199722647d0
96 * Function for the exec and txtExec properties 96 * Function for the exec and txtExec properties
97 * 97 *
98 * @param {node} caller 98 * @param {node} caller
99 * @private 99 * @private
100 */ 100 */
101 formatCmd = function (caller) { 101 formatCmd = function (editor, caller) {
102 var editor = this, 102 var content = document.createElement('div');
103 content = document.createElement('div');
104 103
105 sceditor.utils.each(tags, function (tag, val) { 104 sceditor.utils.each(tags, function (tag, val) {
106 var link = document.createElement('a'); 105 var link = document.createElement('a');
107 link.className = 'sceditor-option'; 106 link.className = 'sceditor-option';
108 link.textContent = val.name || val; 107 link.textContent = val.name || val;