Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

Merge branch 'main' into feat/markdown_syntax_to_code_text

Lucas.Xu3156568594f9
diff --cc frontend/app_flowy/packages/appflowy_editor/lib/src/service/shortcut_event/built_in_shortcut_events.dart
index c76262810e,ca614354a0..827b057700
--- a/frontend/app_flowy/packages/appflowy_editor/lib/src/service/shortcut_event/built_in_shortcut_events.dart
+++ b/frontend/app_flowy/packages/appflowy_editor/lib/src/service/shortcut_event/built_in_shortcut_events.dart
@@@ -250,9 -251,14 +252,19 @@@ List<ShortcutEvent> builtInShortcutEven
command: 'tab',
handler: tabHandler,
),
+ ShortcutEvent(
+ key: 'Backquote to code',
+ command: 'backquote',
+ handler: backquoteToCodeHandler,
+ ),
+ // https://github.com/flutter/flutter/issues/104944
+ // Workaround: Using space editing on the web platform often results in errors,
+ // so adding a shortcut event to handle the space input instead of using the
+ // `input_service`.
+ if (kIsWeb)
+ ShortcutEvent(
+ key: 'Space on the Web',
+ command: 'space',
+ handler: spaceOnWebHandler,
+ ),
];