From 9b55f5bc7f148beeb8abeb6b58ff711280fd6d03 Mon Sep 17 00:00:00 2001 From: Ansah Mohammad Date: Sun, 24 Dec 2023 19:42:16 +0530 Subject: [PATCH] fix: renamed duplicate shortcut commands (#4196) --- .../editor_plugins/copy_and_paste/custom_copy_command.dart | 2 +- .../editor_plugins/copy_and_paste/custom_cut_command.dart | 2 +- .../editor_plugins/copy_and_paste/custom_paste_command.dart | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/copy_and_paste/custom_copy_command.dart b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/copy_and_paste/custom_copy_command.dart index 144558cd5d..26e70ec279 100644 --- a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/copy_and_paste/custom_copy_command.dart +++ b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/copy_and_paste/custom_copy_command.dart @@ -13,7 +13,7 @@ import 'package:flutter/material.dart'; /// - mobile /// final CommandShortcutEvent customCopyCommand = CommandShortcutEvent( - key: 'copy the selected content', + key: 'copy the selected content (with formatting)', command: 'ctrl+c', macOSCommand: 'cmd+c', handler: _copyCommandHandler, diff --git a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/copy_and_paste/custom_cut_command.dart b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/copy_and_paste/custom_cut_command.dart index 0ec9244771..602556eec0 100644 --- a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/copy_and_paste/custom_cut_command.dart +++ b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/copy_and_paste/custom_cut_command.dart @@ -11,7 +11,7 @@ import 'package:flutter/material.dart'; /// - mobile /// final CommandShortcutEvent customCutCommand = CommandShortcutEvent( - key: 'cut the selected content', + key: 'cut the selected content (with formatting)', command: 'ctrl+x', macOSCommand: 'cmd+x', handler: _cutCommandHandler, diff --git a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/copy_and_paste/custom_paste_command.dart b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/copy_and_paste/custom_paste_command.dart index 581b392f68..8f1b0aa910 100644 --- a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/copy_and_paste/custom_paste_command.dart +++ b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/copy_and_paste/custom_paste_command.dart @@ -18,7 +18,7 @@ import 'package:string_validator/string_validator.dart'; /// - mobile /// final CommandShortcutEvent customPasteCommand = CommandShortcutEvent( - key: 'paste the content', + key: 'paste the content (with formatting)', command: 'ctrl+v', macOSCommand: 'cmd+v', handler: _pasteCommandHandler,