lexical
lexical copied to clipboard
Bug: mention deleting one by one
On the desktop, if the mention has two words, deleting them with backspace deletes mentions one by one. In Android, by removing the mentioned word, it behaves like deleting the text character by character. Usually, mentions don't allow cursor in it. By deleting the word, it removes the word with just one click. How do I improve this one?
Lexical version: 0.12.6
Steps To Reproduce
- Open lexical playground
- check the mentioned words
It appears that it was a deliberate choice for accessibility, because of screen readers. You can clone the plugin and change the 'segmented' mode to 'token' to get the behaviour you want on your end.