ichord / At.js

Add Github like mentions autocomplete to your application.
http://ichord.github.com/At.js
MIT License
5.29k stars 671 forks source link

Strange behaviour in firefox contentEditable \n #287

Open houd1ni opened 9 years ago

houd1ni commented 9 years ago

what to do in firefox:

  1. Select all in contentEditable.
  2. delete it. Press BACKSPACE several times to remove
  3. press ctrl+a
  4. press ->
  5. new line detected. Is it a bug?
ichord commented 9 years ago

I don't understand. And it's the problem of At.js?

houd1ni commented 9 years ago

I don't sure, but looks like this. Just usually the "right arrow" on a keyboard doesn't make a new line like pressing "Enter". By the way, it happens only when there is inserting window in left-top corner Oo aaa

AND ONLY IN FF