vanilla-caret-js

js
Set and get Caret position (contenteditable or TextArea) using Vanilla JavaScript
Version 1.1.0 License MIT
Keywords
javascriptes6es2015caret positioncontenteditableTextArea
<script src=" https://cdn.jsdelivr.net/npm/vanilla-caret-js@1.1.0/dist/VanillaCaret.min.js "></script>
No default JS file set by the package author so the URL is guessed. You can always browse all package files to use another one.