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