mirror of
https://github.com/flarum/core.git
synced 2025-07-24 18:21:33 +02: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;
|