From a1dae790a9d74b45413d5e7623eb9e8206ff5342 Mon Sep 17 00:00:00 2001 From: Robson Sobral Date: Thu, 9 Jul 2020 20:57:50 -0300 Subject: [PATCH] Replace obsolete tag `` by ``... ...on built-in text editor following the same pattern already used. --- src/rich_text_editor/model/RichTextEditor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: ``,