mirror of
https://github.com/flarum/framework.git
synced 2025-02-06 03:52:01 +08:00
7 lines
261 B
TypeScript
7 lines
261 B
TypeScript
![]() |
export interface SelectionRange {
|
||
|
text: string;
|
||
|
selectionStart: number | undefined;
|
||
|
selectionEnd: number | undefined;
|
||
|
}
|
||
|
export default function insertText(textarea: HTMLTextAreaElement, { text, selectionStart, selectionEnd }: SelectionRange): void;
|