mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 04:48:53 +00:00
refactor: find in page (#7086)
- refactor rxjs data flow - use canvas text to mitigate searchable search box input text issue
This commit is contained in:
@@ -9,7 +9,6 @@ import type {
|
||||
import type {
|
||||
affine as exposedAffineGlobal,
|
||||
appInfo as exposedAppInfo,
|
||||
cmdFind as exposedCmdFind,
|
||||
} from '@affine/electron/preload/electron-api';
|
||||
|
||||
type MainHandlers = typeof mainHandlers;
|
||||
@@ -40,8 +39,5 @@ 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