Browse Source

Merge pull request #2886 from robsonsobral/patch-1. Closes #2877

pull/2890/head
Artur Arseniev 6 years ago
committed by GitHub
parent
commit
012d2d692b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/rich_text_editor/model/RichTextEditor.js

4
src/rich_text_editor/model/RichTextEditor.js

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

Loading…
Cancel
Save