Browse Source

Rollback to the strikeThrough RTE command. Fixes #3047

pull/3073/head
Artur Arseniev 5 years ago
parent
commit
118bbace13
  1. 2
      src/rich_text_editor/model/RichTextEditor.js

2
src/rich_text_editor/model/RichTextEditor.js

@ -42,7 +42,7 @@ const defActions = {
name: 'strikethrough',
icon: '<s>S</s>',
attributes: { title: 'Strike-through' },
result: rte => rte.insertHTML(`<s>${rte.selection()}</s>`),
result: rte => rte.exec('strikeThrough')
},
link: {
icon: `<span style="transform:rotate(45deg)">&supdsub;</span>`,

Loading…
Cancel
Save