deshiknaves / caret-pos

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

fix(firefox): do not convert space characters to nbsp #5

Closed imsnif closed 5 years ago

imsnif commented 5 years ago

So, I'll admit that I'm not sure why this was needed in the first place (everything seems to work without it). With it though, multiline textareas with word-wrapped lines are not reported correctly. wdyt?

deshiknaves commented 5 years ago

It came in from the port. I don't see a need for it either. I'll do some testing when I get home this evening. I'll keep you posted.