From d7aa064e0fd2681b8b81858ccfe3dfbbeec731b9 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Tue, 16 Aug 2022 11:40:01 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20adding=20emojis=20in=20e?= =?UTF-8?q?ditor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixes https://github.com/TryGhost/Ghost/issues/11541 - due to an upstream bug, typing emojis using Safari would show square boxes in the editor - the upstream patch has been fixed, so I've pulled it into our mobiledoc-kit fork - this commit bumps that package to fix the issue in Ghost --- ghost/admin/package.json | 4 ++-- yarn.lock | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ghost/admin/package.json b/ghost/admin/package.json index 52bbec69db..fc31de31e6 100644 --- a/ghost/admin/package.json +++ b/ghost/admin/package.json @@ -48,7 +48,7 @@ "@tryghost/kg-parser-plugins": "2.11.9", "@tryghost/limit-service": "1.2.3", "@tryghost/members-csv": "1.2.16", - "@tryghost/mobiledoc-kit": "0.12.5-ghost.1", + "@tryghost/mobiledoc-kit": "0.12.5-ghost.2", "@tryghost/nql": "0.9.2", "@tryghost/nql-lang": "0.3.2", "@tryghost/string": "0.1.27", @@ -177,4 +177,4 @@ "path-browserify": "1.0.1", "webpack": "5.74.0" } -} \ No newline at end of file +} diff --git a/yarn.lock b/yarn.lock index 2558bd5a6d..6b5cf35746 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3446,10 +3446,10 @@ optionalDependencies: promise.allsettled "^1.0.5" -"@tryghost/mobiledoc-kit@0.12.5-ghost.1": - version "0.12.5-ghost.1" - resolved "https://registry.yarnpkg.com/@tryghost/mobiledoc-kit/-/mobiledoc-kit-0.12.5-ghost.1.tgz#f79b0f9a9b93eb100fd3dc1c02b343d5d334f4e0" - integrity sha512-6WZ2VAXh6mQefeCYnlCle9bvWrFIq0X85A17af1nYiFB/F9vBYOZhGV6GQCzCBE1EbOYkLlHM0LvXZu1KS7K4A== +"@tryghost/mobiledoc-kit@0.12.5-ghost.2": + version "0.12.5-ghost.2" + resolved "https://registry.yarnpkg.com/@tryghost/mobiledoc-kit/-/mobiledoc-kit-0.12.5-ghost.2.tgz#ab28336ec02827045e57acfbee97978b30d1ad96" + integrity sha512-hsvxZxxlYeAgsYBUox0y+i278EcvlG8AePLaSidd1HTwCiFRpBbZQQJ71r0G43ieUw9VyTgSid9TJdVBbmtckw== dependencies: mobiledoc-dom-renderer "0.7.0" mobiledoc-text-renderer "0.4.0"