@uiw/react-md-editor
Version:
A markdown editor with preview, implemented with React.js and TypeScript.
12 lines (11 loc) • 352 B
TypeScript
/**
* The MIT License
* Copyright (c) 2018 Dmitriy Kubyshkin
* Copied from https://github.com/grassator/insert-text-at-cursor
*/
/**
* @param {HTMLTextAreaElement|HTMLInputElement} input
* @param {string} text
* @returns {void}
*/
export declare function insertTextAtPosition(input: HTMLTextAreaElement | HTMLInputElement, text: string): void;