Skip to content

Commit 221b0ef

Browse files
fix(modules/toolbars): fixed strikethrough action in default toolbar preset (#555)
1 parent 965baf9 commit 221b0ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/modules/toolbars/presets.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ import {
9393
sinkListItemWysiwyg,
9494
strikethroughItemMarkup,
9595
strikethroughItemView,
96+
strikethroughItemWysiwyg,
9697
tableItemMarkup,
9798
tableItemView,
9899
tableItemWysiwyg,
@@ -308,7 +309,7 @@ export const defaultPreset: ToolbarsPreset = {
308309
...commonmark.items,
309310
[Action.strike]: {
310311
view: strikethroughItemView,
311-
wysiwyg: sinkListItemWysiwyg,
312+
wysiwyg: strikethroughItemWysiwyg,
312313
markup: strikethroughItemMarkup,
313314
},
314315
},

0 commit comments

Comments
 (0)