yuku / textcomplete

Autocomplete for HTMLTextAreaElement and more.

Home Page:https://yuku.takahashi.coffee/textcomplete/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong replacing in contenteditable

bettysteger opened this issue · comments

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!

I have the same issue with contenteditable.

+1

This issue is duplicate #282