Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Doesn't work with iOS emojis #98

@brunolm

Description

@brunolm

This line

return node.innerText.trim().split('').map(char => {

.split('')

wrongly splits emojis in iOS webview, if you change to

for (const char of trimmedText) {
  // char
}

it will work with iOS emojis

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions