There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix(core): fix block suite edit mode switch shortcut (#4813)
EYHN6ef02fbc384f
diff --git a/packages/frontend/core/src/components/blocksuite/block-suite-mode-switch/index.tsx b/packages/frontend/core/src/components/blocksuite/block-suite-mode-switch/index.tsxindex 77a7233879..7cc1f7a348 100644--- a/packages/frontend/core/src/components/blocksuite/block-suite-mode-switch/index.tsx+++ b/packages/frontend/core/src/components/blocksuite/block-suite-mode-switch/index.tsx@@ -51,11 +51,7 @@ export const EditorModeSwitch = ({return;}const keydown = (e: KeyboardEvent) => {- if (- !environment.isServer && environment.isMacOs- ? e.key === 'ß'- : e.key === 's' && e.altKey- ) {+ if (e.code === 'KeyS' && e.altKey) {e.preventDefault();togglePageMode(pageId);toast(