Inserting spaces in middle of "mention" (hashtag) breaks oddly #799
Labels
status: confirmed 🟢
The bug has been tested and confirmed.
status: sponsored 💖
All issues and pull requests which have been requested from or created by sponsors.
type: bug 🪲
Something isn't working
Projects
Summary
Highlighting seems to go wrong in the mention extension when inserting spaces in the middle of a mention.
Steps to reproduce
Enter the following into playground, then click in the middle of the "oooo" and press spacebar once, and then again.
Expected results
With square brackets
[]
representing highlighting (blue):After one space:
sdfsdfsdf [#fooo] ooo
After two spaces:
sdfsdfsdf [#fooo] ooo
Actual results
After one space:
sdfsdfsdf [#fooo] [oo]o
After two spaces:
sdfsdfsdf #fooo ooo
The text was updated successfully, but these errors were encountered: