UNPKG

@progress/kendo-react-editor

Version:
23 lines (22 loc) 661 B
import { EditorState, Transaction, EditorView } from '@progress/kendo-editor-common'; import { EditorToolsSettings } from './toolsSettings'; /** * @hidden */ export interface Shortcuts { [key: string]: (state: EditorState, dispatch: (tr: Transaction) => void, view: EditorView) => boolean; } /** * @hidden */ export declare const getShortcuts: (settings?: { types?: { listItem: string; hardBreak: string; }; toolsSettings?: { bold?: EditorToolsSettings.InlineFormatOptions; italic?: EditorToolsSettings.InlineFormatOptions; underline?: EditorToolsSettings.InlineFormatOptions; }; }) => Shortcuts;