Releases: emreerkan/insertAtCaret
Releases · emreerkan/insertAtCaret
v1.2.2 - Dependency update
v1.2.1 - ContentEditable focus fix
If the contentEditable element does not have focus it was adding the text to the active element. .focus()
added to prevent that, now it's giving the focus to the contentEditable element first and then adds the intended text.
Thanks for reporting @wayheming
v1.2.0 - ContentEditable support
As per the request #5 the support for elements with contenteditable="true"
is added.
v1.1.5 - Selection support
Plugin now replaces selected texts in inputs.