webscopeio / react-textarea-autocomplete

📝 React component implements configurable GitHub's like textarea autocomplete.
MIT License
454 stars 80 forks source link

fix: multichar trigger replaces entire text #220

Closed lukaszmn closed 3 years ago

lukaszmn commented 3 years ago

Due to invalid Regex, a multi-character trigger with filtering could replace from the first line until the current cursor position with the selected token.

fixes #219