From: edward Date: Fri, 1 Apr 2016 03:52:25 +0000 (+0800) Subject: Roo/form/HtmlEditor/ToolbarStandard.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=fd408a2fee481cf4fc65bafda27d120809c5d6e1;p=roojs1 Roo/form/HtmlEditor/ToolbarStandard.js --- diff --git a/Roo/form/HtmlEditor/ToolbarStandard.js b/Roo/form/HtmlEditor/ToolbarStandard.js index 243a5af991..3fa01e2cbc 100644 --- a/Roo/form/HtmlEditor/ToolbarStandard.js +++ b/Roo/form/HtmlEditor/ToolbarStandard.js @@ -240,6 +240,7 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarStandard.prototype, { btn('italic'), btn('underline'), btn('strikethrough') + ); }; if(!this.disable.fontSize){ @@ -558,6 +559,7 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarStandard.prototype, { btns[frameId + '-bold'].toggle(doc.queryCommandState('bold')); btns[frameId + '-italic'].toggle(doc.queryCommandState('italic')); btns[frameId + '-underline'].toggle(doc.queryCommandState('underline')); + btns[frameId + '-strikethrough'].toggle(doc.queryCommandState('strikethrough')); } if(!this.disable.alignments){ btns[frameId + '-justifyleft'].toggle(doc.queryCommandState('justifyleft')); @@ -683,6 +685,11 @@ Roo.apply(Roo.form.HtmlEditor.ToolbarStandard.prototype, { text: 'Underline the selected text.', cls: 'x-html-editor-tip' }, + strikethrough : { + title: 'Strikethrough', + text: 'Strikethrough the selected text.', + cls: 'x-html-editor-tip' + }, increasefontsize : { title: 'Grow Text', text: 'Increase the font size.',