Skip to content

support emoji in block text#31

Open
tingyiy wants to merge 2 commits intojpuri:masterfrom
tingyiy:patch-1
Open

support emoji in block text#31
tingyiy wants to merge 2 commits intojpuri:masterfrom
tingyiy:patch-1

Conversation

@tingyiy
Copy link
Copy Markdown

@tingyiy tingyiy commented Apr 28, 2021

update how block text length is calculated so that emoji characters won't get counted as 2 characters. see https://stackoverflow.com/questions/54369513/how-to-count-the-correct-length-of-a-string-with-emojis-in-javascript/54369605

tingyiy added 2 commits April 28, 2021 15:10
update how block text length is calculated so that emoji characters won't get counted as 2 characters. see https://stackoverflow.com/questions/54369513/how-to-count-the-correct-length-of-a-string-with-emojis-in-javascript/54369605
fix emoji string indexing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant