UNPKG

@lobehub/editor

Version:

A powerful and extensible rich text editor built on Meta's Lexical framework, providing a modern editing experience with React integration.

20 lines (19 loc) 735 B
export declare const nodeDetect: () => boolean; export declare const browserDetect: () => boolean; export declare const isNode: boolean; export declare const isBrowser: boolean; export declare const macOSDetect: () => boolean; export declare const isMac: boolean; /** @deprecated 请使用 @/const/hotkey 中的 PLATFORM_MODIFIER.MOD */ export declare const CONTROL_OR_META: { ctrlKey: boolean; metaKey: boolean; }; /** @deprecated 请使用 @/const/hotkey 中的 PLATFORM_MODIFIER.MOD_SHIFT */ export declare const CONTROL_OR_META_AND_SHIFT: { ctrlKey: boolean; metaKey: boolean; shiftKey: boolean; }; export { IS_FIREFOX, IS_APPLE as isApple } from '@lexical/utils'; export declare const isOnServerSide: boolean;