UNPKG

@portabletext/editor

Version:

Portable Text Editor made in React

14 lines (12 loc) 301 B
import type {BaseSyntheticEvent} from 'react' import type {PortableTextEditor} from '../editor/PortableTextEditor' /** * @beta */ export type HotkeyOptions = { marks?: Record<string, string> custom?: Record< string, (event: BaseSyntheticEvent, editor: PortableTextEditor) => void > }