lovasoa / react-contenteditable

React component for a div with editable contents
http://npmjs.com/package/react-contenteditable
Apache License 2.0
1.64k stars 218 forks source link

Get current caret position #194

Closed StefanYohansson closed 4 years ago

StefanYohansson commented 4 years ago

there's a way to get caret position using react-contenteditable library?

lovasoa commented 4 years ago

No, there isn't. But you can use the standard web APIs for that.