usfm-editor
Version:
A WYSIWYG editor component for USFM
8 lines (7 loc) • 412 B
TypeScript
/// <reference types="react" />
import { Editor } from "slate";
import { ReactEditor } from "slate-react";
export declare function handleKeyPress(event: React.KeyboardEvent, editor: Editor): void;
export declare const withEnter: (editor: ReactEditor) => ReactEditor;
export declare const withBackspace: (editor: ReactEditor) => ReactEditor;
export declare const withDelete: (editor: ReactEditor) => ReactEditor;