From 4394580c1a33e641f767f25f1e900b066982ece1 Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Tue, 14 Nov 2023 21:59:45 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20and=20improved=20various?= =?UTF-8?q?=20editor=20issues?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes https://github.com/TryGhost/Product/issues/4146 closes https://github.com/TryGhost/Ghost/issues/17753 closes https://github.com/TryGhost/Product/issues/4127 closes https://github.com/TryGhost/Ghost/issues/18903 - 🐛 Fixed blank render output in some cases when using line breaks - 🐛 Fixed backspace at end of link sometimes deleting whole link in Firefox - 🐛 Fixed plain black generated video thumbnails in Safari - 🎨 Added `srcset` and `loading="lazy"` to header card images - 🎨 Improved accessibility of buttons in render output by adding `aria-role` attributes - 🎨 Removed Ctrl/Cmd+H shortcut as it clashed with expected OS shortcut --- ghost/admin/package.json | 4 ++-- ghost/core/package.json | 6 ++--- yarn.lock | 48 ++++++++++++++++++++-------------------- 3 files changed, 29 insertions(+), 29 deletions(-) diff --git a/ghost/admin/package.json b/ghost/admin/package.json index acf4dd1a5b..a1d0c39222 100644 --- a/ghost/admin/package.json +++ b/ghost/admin/package.json @@ -45,7 +45,7 @@ "@tryghost/helpers": "1.1.88", "@tryghost/kg-clean-basic-html": "3.0.41", "@tryghost/kg-converters": "0.0.22", - "@tryghost/koenig-lexical": "0.5.17", + "@tryghost/koenig-lexical": "0.5.18", "@tryghost/limit-service": "1.2.12", "@tryghost/members-csv": "0.0.0", "@tryghost/nql": "0.11.0", @@ -199,4 +199,4 @@ } } } -} \ No newline at end of file +} diff --git a/ghost/core/package.json b/ghost/core/package.json index 3f20a88679..eceaf955e4 100644 --- a/ghost/core/package.json +++ b/ghost/core/package.json @@ -102,9 +102,9 @@ "@tryghost/kg-converters": "0.0.22", "@tryghost/kg-default-atoms": "4.0.3", "@tryghost/kg-default-cards": "9.1.9", - "@tryghost/kg-default-nodes": "0.2.8", - "@tryghost/kg-html-to-lexical": "0.1.9", - "@tryghost/kg-lexical-html-renderer": "0.3.45", + "@tryghost/kg-default-nodes": "0.2.9", + "@tryghost/kg-html-to-lexical": "0.1.10", + "@tryghost/kg-lexical-html-renderer": "0.3.47", "@tryghost/kg-mobiledoc-html-renderer": "6.0.15", "@tryghost/limit-service": "1.2.12", "@tryghost/link-redirects": "0.0.0", diff --git a/yarn.lock b/yarn.lock index 96a6c185fb..1e37d4c2af 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7817,10 +7817,10 @@ lodash "^4.17.21" luxon "^3.0.0" -"@tryghost/kg-default-nodes@0.2.8", "@tryghost/kg-default-nodes@^0.2.8": - version "0.2.8" - resolved "https://registry.yarnpkg.com/@tryghost/kg-default-nodes/-/kg-default-nodes-0.2.8.tgz#b6081dd47703d5ee42a219d8b73099b08a6872fb" - integrity sha512-inpzMNexnEmIVCX26vg+Vw6Xhxam5U5BDELAlNU/iiSWKOVrLfQBfcGTku3syRnf54fb8emCxlVSj3Z4/AbxGg== +"@tryghost/kg-default-nodes@0.2.9", "@tryghost/kg-default-nodes@^0.2.9": + version "0.2.9" + resolved "https://registry.yarnpkg.com/@tryghost/kg-default-nodes/-/kg-default-nodes-0.2.9.tgz#405d7018d2d79f356e8bd5df7eb5e73d573c771d" + integrity sha512-P48wfqPPgpj/dQ6IxvHh6SUoZDiPkuUrTF7me9Xc80ZrtSZlFJAMeks7gEMs5OhoH4WEzp9Hf7G02rphZscJQQ== dependencies: "@lexical/rich-text" "^0.12.2" "@tryghost/kg-clean-basic-html" "^3.0.41" @@ -7831,21 +7831,21 @@ lodash "^4.17.21" luxon "^3.3.0" -"@tryghost/kg-default-transforms@^0.0.5": - version "0.0.5" - resolved "https://registry.yarnpkg.com/@tryghost/kg-default-transforms/-/kg-default-transforms-0.0.5.tgz#fd5c68c301b3c5f2dffdfbb7ce1fbdbd3c9b1029" - integrity sha512-L7KniU5pQ8dM1jHzRme2FYlKFZL+dVSso073fGsg3pGKjPcgNHlOhGWxYPuzKXyr4IH4a1+7G2d1SoSlOx1H3A== +"@tryghost/kg-default-transforms@^0.0.6": + version "0.0.6" + resolved "https://registry.yarnpkg.com/@tryghost/kg-default-transforms/-/kg-default-transforms-0.0.6.tgz#87926c72ec0b82fec0ce4626e0cb184bdd72bc86" + integrity sha512-VQOE+pXogwtM/lHnRgHwej+YZjUYtPiA5aCQXbTWBYsXk3/LKQLM/wAx+jKE8tWB54ZZelWb1WeR3FX7WDO3lw== dependencies: "@lexical/list" "^0.12.2" "@lexical/rich-text" "^0.12.2" "@lexical/utils" "^0.12.2" - "@tryghost/kg-default-nodes" "^0.2.8" + "@tryghost/kg-default-nodes" "^0.2.9" lexical "^0.12.2" -"@tryghost/kg-html-to-lexical@0.1.9": - version "0.1.9" - resolved "https://registry.yarnpkg.com/@tryghost/kg-html-to-lexical/-/kg-html-to-lexical-0.1.9.tgz#22c8d5b69aa3d80102869e5ce5beafd1c07cae17" - integrity sha512-aLy3aEblCxQqKBcCsxfv8DxPHZkM6+tB1QLXrnHFBVTbHm8T3VIamDILcxbGnT93pPym5fh1+AwH7ZyX5TCWaw== +"@tryghost/kg-html-to-lexical@0.1.10": + version "0.1.10" + resolved "https://registry.yarnpkg.com/@tryghost/kg-html-to-lexical/-/kg-html-to-lexical-0.1.10.tgz#893fd708e11b1ead5a8e4756789a327a684c89ee" + integrity sha512-ZXFLDv+eN2ifYcfyIrprMF/GCK1PkAUjakM+5eYJzvZMAKr2/hyH+Lrx7SH7LzdwUh260c02jsA2EZJiVBn/NQ== dependencies: "@lexical/clipboard" "^0.12.2" "@lexical/headless" "^0.12.2" @@ -7853,15 +7853,15 @@ "@lexical/link" "^0.12.2" "@lexical/list" "^0.12.2" "@lexical/rich-text" "^0.12.2" - "@tryghost/kg-default-nodes" "^0.2.8" - "@tryghost/kg-default-transforms" "^0.0.5" + "@tryghost/kg-default-nodes" "^0.2.9" + "@tryghost/kg-default-transforms" "^0.0.6" jsdom "^22.1.0" lexical "^0.12.2" -"@tryghost/kg-lexical-html-renderer@0.3.45": - version "0.3.45" - resolved "https://registry.yarnpkg.com/@tryghost/kg-lexical-html-renderer/-/kg-lexical-html-renderer-0.3.45.tgz#ca8d487b70828aba8c6bcbad82d9c5bf3f823320" - integrity sha512-c3fvn2BWZY9zfBNqusQq443KyQS+6LrSmFh2i1I8HlHu+CcUIM7cbljqYGHrBVq/n13zMWWw25oioxbjQDA0uw== +"@tryghost/kg-lexical-html-renderer@0.3.47": + version "0.3.47" + resolved "https://registry.yarnpkg.com/@tryghost/kg-lexical-html-renderer/-/kg-lexical-html-renderer-0.3.47.tgz#5d81e4308cb301c45ec11be73a79e710fa0a0dae" + integrity sha512-IiVKoLseN9ohFdkleSwcB39iMs+dvd6amCV7frGdpO0KU19ENzzr4jIGScqNmeOtMJ+QSkdtqgYRSPzxR3dzKw== dependencies: "@lexical/clipboard" "^0.12.2" "@lexical/code" "^0.12.2" @@ -7869,7 +7869,7 @@ "@lexical/link" "^0.12.2" "@lexical/list" "^0.12.2" "@lexical/rich-text" "^0.12.2" - "@tryghost/kg-default-nodes" "^0.2.8" + "@tryghost/kg-default-nodes" "^0.2.9" jsdom "^22.1.0" lexical "^0.12.2" prettier "^3.0.0" @@ -7912,10 +7912,10 @@ dependencies: semver "^7.3.5" -"@tryghost/koenig-lexical@0.5.17": - version "0.5.17" - resolved "https://registry.yarnpkg.com/@tryghost/koenig-lexical/-/koenig-lexical-0.5.17.tgz#fc1d067c8392e9248d9b3fd76103c51ff997d34f" - integrity sha512-G0M0VfHytFm2m2D5xkdAY/1C3E6aYwqyXYQ5rnyXheMC7jjIienniWhrx+xfYhkt1g2WIQ+OrmbDQ4ZkF6ZfIA== +"@tryghost/koenig-lexical@0.5.18": + version "0.5.18" + resolved "https://registry.yarnpkg.com/@tryghost/koenig-lexical/-/koenig-lexical-0.5.18.tgz#3703d36d956170c9b1d404795a188683ceacccb9" + integrity sha512-PVJkZr8GGWwzifN+72veAEneeR5KC6zI7DkZwvxGdb/DoyO6pPoiYLWeAYCaItHY1vHUEio5B9UrY5DGV3bNyg== "@tryghost/limit-service@1.2.12", "@tryghost/limit-service@^1.2.10": version "1.2.12"