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: fixed #19
QiShaoXuan7b543ec2c15d
diff --git a/libs/components/editor-core/src/editor/keyboard/keyboard.ts b/libs/components/editor-core/src/editor/keyboard/keyboard.tsindex 751e888588..04d663ea30 100644--- a/libs/components/editor-core/src/editor/keyboard/keyboard.ts+++ b/libs/components/editor-core/src/editor/keyboard/keyboard.ts@@ -35,20 +35,6 @@ export class KeyboardManager {}this.handler_map = {};- // WARNING: Remove the filter of hotkeys, the input event of input/select/textarea will be filtered out by default- // When there is a problem with the input of the text component, you need to pay attention to this- const old_filter = HotKeys.filter;- HotKeys.filter = event => {- let parent = (event.target as Element).parentElement;- while (parent) {- if (parent === editor.container) {- return old_filter(event);- }- parent = parent.parentElement;- }-- return true;- };HotKeys.setScope('editor');// this.init_common_shortcut_cb();