🐛 Fixed editor unable to handle non-latin IME languages

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
This commit is contained in:
Daniel Lockyer 2020-11-23 12:19:20 +00:00
parent bf797e3ad2
commit 7e240bf27a
2 changed files with 5 additions and 5 deletions

View File

@ -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",

View File

@ -1510,10 +1510,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"