This workarounds an issue with indexes around mentions, which placed the cursor inside the ReplacementSpan when backspacing a mention. I tried modifying several other index mapping functions, but whatever made mentions work well broke indexes in lists or multiple paragraphs.
This workarounds an issue with indexes around mentions, which placed the cursor inside the
ReplacementSpan
when backspacing a mention. I tried modifying several other index mapping functions, but whatever made mentions work well broke indexes in lists or multiple paragraphs.