Skip to content

Commit

Permalink
fix: shift+delete
Browse files Browse the repository at this point in the history
  • Loading branch information
Xazin committed Oct 8, 2024
1 parent 8eb1400 commit 4296f33
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import 'package:appflowy_editor/appflowy_editor.dart';
import 'package:flutter/material.dart';

import 'package:appflowy_editor/appflowy_editor.dart';

/// Backspace key event.
///
/// - support
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import 'package:appflowy_editor/appflowy_editor.dart';
import 'package:flutter/material.dart';

import 'package:appflowy_editor/appflowy_editor.dart';

/// Delete key event.
///
/// - support
Expand All @@ -10,7 +11,7 @@ import 'package:flutter/material.dart';
final CommandShortcutEvent deleteCommand = CommandShortcutEvent(
key: 'Delete Key',
getDescription: () => AppFlowyEditorL10n.current.cmdDeleteRight,
command: 'delete',
command: 'delete, shift+delete',
handler: _deleteCommandHandler,
);

Expand Down

0 comments on commit 4296f33

Please sign in to comment.