Artur Arseniev
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
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)">⫘</span>`, |
|
|
|
|