Skip to content

Fix emoji input on iOS#764

Merged
gpoitch merged 3 commits intobustle:masterfrom
JBYoshi:emojis
Aug 11, 2022
Merged

Fix emoji input on iOS#764
gpoitch merged 3 commits intobustle:masterfrom
JBYoshi:emojis

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