From 54389216ab3b4884f96f9d1da90bfc031392bada Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Mon, 23 Nov 2020 12:19:20 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20editor=20unable=20to=20h?= =?UTF-8?q?andle=20non-latin=20IME=20languages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes https://github.com/TryGhost/Ghost/issues/12268 - see the referenced issue for discussion on the many issues with non-latin IME input - this has been a long term bug which needed a patch in upstream mobiledoc-kit - the fixes were released upstream in 0.12.5, so we've merged a contributor PR to our mobiledoc-kit fork and released v0.12.5-ghost.1 - in testing, this seems to fix a lot of the input issues people were seeing --- ghost/admin/package.json | 2 +- ghost/admin/yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ghost/admin/package.json b/ghost/admin/package.json index d3aad1ee92..7b24a22833 100644 --- a/ghost/admin/package.json +++ b/ghost/admin/package.json @@ -33,7 +33,7 @@ "@tryghost/helpers": "1.1.34", "@tryghost/kg-clean-basic-html": "1.0.10", "@tryghost/kg-parser-plugins": "1.0.10", - "@tryghost/mobiledoc-kit": "0.12.4-ghost.1", + "@tryghost/mobiledoc-kit": "0.12.5-ghost.1", "@tryghost/string": "0.1.14", "@tryghost/timezone-data": "0.2.32", "autoprefixer": "10.0.2", diff --git a/ghost/admin/yarn.lock b/ghost/admin/yarn.lock index 11d4651963..9e52040b24 100644 --- a/ghost/admin/yarn.lock +++ b/ghost/admin/yarn.lock @@ -1519,10 +1519,10 @@ dependencies: "@tryghost/kg-clean-basic-html" "^1.0.10" -"@tryghost/mobiledoc-kit@0.12.4-ghost.1": - version "0.12.4-ghost.1" - resolved "https://registry.yarnpkg.com/@tryghost/mobiledoc-kit/-/mobiledoc-kit-0.12.4-ghost.1.tgz#32060242b4c7e787a9605ba856454c6a26141925" - integrity sha512-c4aheSWH2Y7x4uSkAx08gbtvuEgPGjlu6v+FeUdSJZ1blEd+knL3zTcUAfeSiM6rgLEHxlNWtt+KFwotdf6rTA== +"@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== dependencies: mobiledoc-dom-renderer "0.7.0" mobiledoc-text-renderer "0.4.0"