From bdd8302484fcb1efe8da4b261c5447a8f2c59eed Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Mon, 19 Jun 2023 11:12:06 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20beta=20editor=20HTML=20c?= =?UTF-8?q?ards=20auto-closing=20tags=20when=20rendering?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes https://github.com/TryGhost/Team/issues/3462 refs https://github.com/TryGhost/Koenig/commit/a49f296c08a6fbc84b1f399989a21c5fd23400d5 - bumps `@tryghost/kg-default-nodes` and `@tryghost/kg-lexical-html-renderer` with support for "raw" html values in rendered card output --- ghost/admin/jsconfig.json | 15 +-------------- ghost/core/package.json | 4 ++-- yarn.lock | 18 +++++++++--------- 3 files changed, 12 insertions(+), 25 deletions(-) diff --git a/ghost/admin/jsconfig.json b/ghost/admin/jsconfig.json index a5e091c1fe..f408cac8c2 100644 --- a/ghost/admin/jsconfig.json +++ b/ghost/admin/jsconfig.json @@ -1,14 +1 @@ -{ - "compilerOptions": { - "target":"es6", - "experimentalDecorators":true - }, - "exclude": [ - "node_modules", - "bower_components", - "tmp", - "vendor", - ".git", - "dist" - ] -} +{"compilerOptions":{"target":"es6","experimentalDecorators":true},"exclude":["node_modules","bower_components","tmp","vendor",".git","dist"]} \ No newline at end of file diff --git a/ghost/core/package.json b/ghost/core/package.json index c87a31104f..fa0ba1b88c 100644 --- a/ghost/core/package.json +++ b/ghost/core/package.json @@ -104,8 +104,8 @@ "@tryghost/kg-card-factory": "4.0.8", "@tryghost/kg-default-atoms": "4.0.1", "@tryghost/kg-default-cards": "9.1.0", - "@tryghost/kg-default-nodes": "0.0.63", - "@tryghost/kg-lexical-html-renderer": "0.1.63", + "@tryghost/kg-default-nodes": "0.0.64", + "@tryghost/kg-lexical-html-renderer": "0.1.64", "@tryghost/kg-mobiledoc-html-renderer": "6.0.8", "@tryghost/limit-service": "1.2.6", "@tryghost/link-redirects": "0.0.0", diff --git a/yarn.lock b/yarn.lock index 09db588add..c3061bcebb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6964,10 +6964,10 @@ lodash "^4.17.21" luxon "^3.0.0" -"@tryghost/kg-default-nodes@0.0.63", "@tryghost/kg-default-nodes@^0.0.63": - version "0.0.63" - resolved "https://registry.yarnpkg.com/@tryghost/kg-default-nodes/-/kg-default-nodes-0.0.63.tgz#5e5a27ab195a131632c061baa59d804e29674c72" - integrity sha512-C2iGRFVfsFSqfMQrQEFnp8YM3aeW8v7nTIAYk/G5UY8KdQjmXT2air4GO7CbPic2rqSPyID0hh3sSEBRv2U3pA== +"@tryghost/kg-default-nodes@0.0.64", "@tryghost/kg-default-nodes@^0.0.64": + version "0.0.64" + resolved "https://registry.yarnpkg.com/@tryghost/kg-default-nodes/-/kg-default-nodes-0.0.64.tgz#ea9adf63f3dc0889a9d7333d31b12d2906c0a641" + integrity sha512-uqp1na1ET1NJtlpCbsWITfpByt39Z46OXRBthXHEjUkopeMs1vZciT+/V9xK9Quv/Oqm9Z0Jpio1gn8tYSqRNw== dependencies: "@tryghost/kg-clean-basic-html" "^3.0.19" "@tryghost/kg-markdown-html-renderer" "^6.0.8" @@ -6977,10 +6977,10 @@ lodash "^4.17.21" luxon "^3.3.0" -"@tryghost/kg-lexical-html-renderer@0.1.63": - version "0.1.63" - resolved "https://registry.yarnpkg.com/@tryghost/kg-lexical-html-renderer/-/kg-lexical-html-renderer-0.1.63.tgz#590f582daee638233dbbce8b3219b076130fe9a8" - integrity sha512-pzGfRlm6lBs05nE2sLeKyqWPU/0EBjSQG1dkPh80+TAKuxSZbuHSjtfLcEQ1/+xUaCdxyhwPfml4yUnpde99vw== +"@tryghost/kg-lexical-html-renderer@0.1.64": + version "0.1.64" + resolved "https://registry.yarnpkg.com/@tryghost/kg-lexical-html-renderer/-/kg-lexical-html-renderer-0.1.64.tgz#10489b0fe99b50076e2d24b5d40111d77945a28a" + integrity sha512-SqvwrmiWPVXqvsHkpicO+36LlTaTV/YvBp9/y2HLgcHKZlPwF8PYXLva5216J4sVEEAoymb4s9x7FSLeg87Qpg== dependencies: "@lexical/clipboard" "^0.11.0" "@lexical/code" "^0.11.0" @@ -6988,7 +6988,7 @@ "@lexical/link" "^0.11.0" "@lexical/list" "^0.11.0" "@lexical/rich-text" "^0.11.0" - "@tryghost/kg-default-nodes" "^0.0.63" + "@tryghost/kg-default-nodes" "^0.0.64" jsdom "^22.1.0" lexical "^0.11.0" prettier "^2.7.1"