toggleStrikethroughCommand top-level property
Implementation
final CommandShortcutEvent toggleStrikethroughCommand = CommandShortcutEvent(
key: 'toggle strikethrough',
getDescription: () => AppFlowyEditorL10n.current.cmdToggleStrikethrough,
command: 'ctrl+shift+s',
macOSCommand: 'cmd+shift+s',
handler: (editorState) => _toggleAttribute(
editorState,
AppFlowyRichTextKeys.strikethrough,
),
);