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

Backspace cannot remove insert #532

Open renebrain opened 6 years ago

renebrain commented 6 years ago

this.query.el.removeClass('atwho-query').addClass('atwho-inserted').html(content).attr('data-atwho-at-query', "" + data['atwho-at'] + this.query.text).attr('contenteditable', "false"); on line 835 in your js file is the .attr('contenteditable', "false"); part stops the elements from being removed via backspace you can only remove them when you select the entire block and delete it then in firefox.

TheBigK commented 6 years ago

I'm facing this issue too. I had to go back to an older version to make this work. Would really appreciate a fix.

Sal-man commented 4 years ago

Hi @renebrain did you find any solution to that?