Commit 305b1a2
Fix emoji input on iOS (#764)
* 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>1 parent 083112d commit 305b1a2
2 files changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
0 commit comments