Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix emoji input on iOS #764

Merged
merged 3 commits into from
Aug 11, 2022
Merged

Fix emoji input on iOS #764

merged 3 commits into from
Aug 11, 2022

Conversation

JBYoshi
Copy link
Contributor

@JBYoshi JBYoshi commented Aug 11, 2022

Many emoji char codes are bigger than String.fromCharCode() supports. String.fromCodePoint() has a larger range that allows emojis.

Fixes TryGhost/Ghost#11541.

Emoji char codes are bigger than String.fromCharCode() supports. String.fromCodePoint() has a larger range.

Fixes TryGhost/Ghost#11541.
@gpoitch gpoitch changed the title Fix emoji inputs. Fix emoji input on iOS Aug 11, 2022
@gpoitch
Copy link
Member

gpoitch commented Aug 11, 2022

Thank you. Updated the title as they work correctly on desktop.

Tests are passing. The failure is due to account secrets not working in forks that we need to figure out.

@gpoitch gpoitch merged commit 305b1a2 into bustle:master Aug 11, 2022
@JBYoshi JBYoshi deleted the emojis branch August 12, 2022 02:09
daniellockyer pushed a commit to TryGhost/mobiledoc-kit that referenced this pull request Aug 16, 2022
* Fix emoji inputs.

Emoji char codes are bigger than String.fromCharCode() supports. String.fromCodePoint() has a larger range.

Fixes TryGhost/Ghost#11541.

* Add a unit test.

Co-authored-by: Garth Poitras <411908+gpoitch@users.noreply.github.com>
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.

Unable to add emojis with iPadOS Safari
2 participants