mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-25 00:14:07 +01:00
This commit is contained in:
parent
0b0c27b0ba
commit
66094077eb
3 changed files with 94 additions and 58 deletions
|
|
@ -5,7 +5,8 @@ import {getCurrentEditor} from "../editor";
|
|||
import {filterHotkey} from "../../boot/globalEvent/commonHotkey";
|
||||
|
||||
export const mobileKeydown = (app: App, event: KeyboardEvent) => {
|
||||
if (filterHotkey(event, app)) {
|
||||
// 移动端输入框默认填充无 event.key
|
||||
if (!event.key || filterHotkey(event, app)) {
|
||||
return;
|
||||
}
|
||||
const protyle = getCurrentEditor().protyle;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue