Get ranges in graphemes or codepoints? #6432
Unanswered
tom-sherman
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to get lexical to give the start and end offsets of nodes in graphemes instead of bytes?
I want to transform the data from the editor to an offset based system that looks something like this:
Which would render something akin to the following markdown:
**emoji link:** [👀](example.com)
Failing that, does lexical expose codepoints? That's my backup option right now.
Beta Was this translation helpful? Give feedback.
All reactions