deshiknaves / caret-pos

Locate the current position of the caret. A plain JavaScript version of Caret.js.
MIT License
118 stars 13 forks source link

Make isContentEditable support other DOM's #10

Closed nivzelber closed 4 years ago

nivzelber commented 4 years ago

If the element has no contentEditable property - use element.getAttribute instead

nivzelber commented 4 years ago

Can you take a look at this @deshiknaves

nivzelber commented 4 years ago

Closed accidentally, please reopen.

deshiknaves commented 4 years ago

The repo no longer exists

deshiknaves commented 4 years ago

I'll add the changes