From 118bbace13b11d2823e33dad1615c795a6016367 Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Sat, 10 Oct 2020 20:35:50 +0200 Subject: [PATCH] Rollback to the strikeThrough RTE command. Fixes #3047 --- src/rich_text_editor/model/RichTextEditor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: ``,