Hi
i am using mentions plugin it works awesome as expected without emojis/unicode.
My situations
ex: "馃榾 dude Suresh Chandrababu" is my text in editor. Suresh Chandrababu is mention.
I need to extract the mention offset position, length and send to my API, problem here is when emojis/unicode added before the mentions, offset returned by Draft editor was wrong.
Expected o/p: entityRange - offset:3, length: 18
Actual o/p: entityRange - offset:2, length: 18
Emoji's length is 2, but entityRange consider it as 1.
How to handle this situation.
o/p:

Thanks in advance
We also have this problem, anyone has any ideas?
Any update on this?
Same problem here.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
Any update on this?