diff --git a/shared/editor/plugins/Keys.ts b/shared/editor/plugins/Keys.ts index 589fd5aae6..267a162a70 100644 --- a/shared/editor/plugins/Keys.ts +++ b/shared/editor/plugins/Keys.ts @@ -41,6 +41,10 @@ export default class Keys extends Extension { } return false; }, + Escape: () => { + (this.editor.view.dom as HTMLElement).blur(); + return true; + }, }; }