slate
Version:
A completely customizable framework for building rich text editors.
9 lines • 461 B
TypeScript
import { Editor, Location } from '../interfaces';
/**
* Get the default location to insert content into the editor.
* By default, use the selection as the target location. But if there is
* no selection, insert at the end of the document since that is such a
* common use case when inserting from a non-selected state.
*/
export declare const getDefaultInsertLocation: (editor: Editor) => Location;
//# sourceMappingURL=get-default-insert-location.d.ts.map