edit-on-slate
Version:
Slate 기반의 직관적이고 강력한 리액트 텍스트 에디터 라이브러리
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