diff --git a/src/rich_text_editor/model/RichTextEditor.js b/src/rich_text_editor/model/RichTextEditor.js index 8f91f15a9..748616d54 100644 --- a/src/rich_text_editor/model/RichTextEditor.js +++ b/src/rich_text_editor/model/RichTextEditor.js @@ -40,9 +40,9 @@ const defActions = { }, strikethrough: { name: 'strikethrough', - icon: 'S', + icon: 'S', attributes: { title: 'Strike-through' }, - result: rte => rte.exec('strikeThrough') + result: rte => rte.insertHTML(`${rte.selection()}`), }, link: { icon: ``,