mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
feat(core): cmd+f search in doc function (#7040)
You can use the cmd+F shortcut key to trigger the FindInPage function.
This commit is contained in:
@@ -9,6 +9,7 @@ import type {
|
||||
import type {
|
||||
affine as exposedAffineGlobal,
|
||||
appInfo as exposedAppInfo,
|
||||
cmdFind as exposedCmdFind,
|
||||
} from '@affine/electron/preload/electron-api';
|
||||
|
||||
type MainHandlers = typeof mainHandlers;
|
||||
@@ -39,5 +40,8 @@ export const events = (globalThis as any).events as ClientEvents | null;
|
||||
export const affine = (globalThis as any).affine as
|
||||
| typeof exposedAffineGlobal
|
||||
| null;
|
||||
export const cmdFind = (globalThis as any).cmdFind as
|
||||
| typeof exposedCmdFind
|
||||
| null;
|
||||
|
||||
export type { UpdateMeta } from '@affine/electron/main/updater/event';
|
||||
|
||||
Reference in New Issue
Block a user