yuku / textcomplete

Autocomplete for HTMLTextAreaElement and more.
https://yuku.takahashi.coffee/textcomplete/
MIT License
1.74k stars 303 forks source link

Wrong replacing in contenteditable #283

Closed bettysteger closed 8 years ago

bettysteger commented 8 years ago

I made an example with the strategy I have for completing HTML tags:

http://fiddle.jshell.net/p5qqvkp6/5/

when there is already a "<" (= & lt;) inside the text the replacing removes all text after that character - I think the replacing does something wrong in that case.

Would really appreciate if someone could check out my example!

dpmontero commented 8 years ago

I have the same issue with contenteditable.

+1

dpmontero commented 8 years ago

This issue is duplicate #282