Ghost icon indicating copy to clipboard operation
Ghost copied to clipboard

Unable to add emojis with iPadOS Safari

Open tonilampela opened this issue 5 years ago • 7 comments

Ghost version 3.3.0. When using editor with Safari of iPadOS 13.3 typing emojis results just mangled characters. On macOS Safari emojis work just fine. 5BCD0EA1-C91E-4FB3-AE7B-25736442C632

tonilampela avatar Jan 25 '20 18:01 tonilampela

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 19 '20 15:07 stale[bot]

This is neither stale nor fixed, I have the same issue on the latest 5.6.0

s00500 avatar Aug 08 '22 14:08 s00500

Is there anyway one can reopen this or do I have to create the same issue again ?

s00500 avatar Aug 08 '22 14:08 s00500

@s00500 I'm happy to reopen if you intend to work on it? 🙂

ErisDS avatar Aug 08 '22 16:08 ErisDS

Hm I can take a look.... but if anybody has pointers it would be useful...

It seems to work just fine if I create the emoji in the ios notes app and then paste it over... could it be that ghosts editor truncates the second half of the unicode char when inserting? It is definitely a problem in the editor, display and storage work fine... and it really only happens on ios browsers

s00500 avatar Aug 08 '22 16:08 s00500

I've reopened the issue - but short of letting you know that the admin client lives in ghost/admin now I wouldn't know where to look for this issue. It may well be upstream in mobiledoc-kit maybe something similar to this bug.

Ghost doesn't officially support mobile editing at present - there's another thread where I explained this recently here.

Very very happy for people to get involved and help make the experience better though.

ErisDS avatar Aug 08 '22 18:08 ErisDS

Thanks for reopening @ErisDS And thanks for the pointers, as it seems it is indeed an upstream bug, as it has the same behavior when trying on the official demo of the editor lib here:

https://bustle.github.io/mobiledoc-kit/demo/

I might take a look into this next week....

Generally I can confirm that the ios editing experience is pretty good, there are some glitches here and there but nothing that lead to an unrecoverable situation

For now the workaround with pasting emojis from the notes app also seems to be a viable option in the shirt term

s00500 avatar Aug 08 '22 21:08 s00500

A fix has been added to mobiledoc-kit v0.14.1. This should be fixed whenever that gets pulled into Ghost.

JBYoshi avatar Aug 13 '22 19:08 JBYoshi

Oh cool cc @daniellockyer our fork of mobiledoc-kit needs to pull in this patch: https://github.com/bustle/mobiledoc-kit/commit/305b1a2f33c51abd910d6b8ac6ec072347f26eeb

ErisDS avatar Aug 15 '22 13:08 ErisDS

Hey all 👋🏻 I've backported the patch into our mobiledoc-kit fork and bumped it in Ghost. The fix will be available with the next Ghost release 🙂

daniellockyer avatar Aug 16 '22 09:08 daniellockyer