From 27ff27ce767c82d4c8154d556dc4ef97d3fe235d Mon Sep 17 00:00:00 2001 From: Ronald Langeveld Date: Wed, 21 Aug 2024 16:42:22 +0700 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20editor=20performance?= =?UTF-8?q?=20issues=20in=20Safari=20for=20posts=20with=20HTML=20or=20Mark?= =?UTF-8?q?down=20cards=20(#20806)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ref https://linear.app/tryghost/issue/ONC-261 - Previous method of hiding the second Lexical instance using `width: 0`, `height: 0`, and `overflow: hidden` caused CPU usage to spike, likely due to CodeMirror continuously processing the element. --- ghost/admin/app/components/koenig-lexical-editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/admin/app/components/koenig-lexical-editor.js b/ghost/admin/app/components/koenig-lexical-editor.js index f2a471a463..8f6f4452c1 100644 --- a/ghost/admin/app/components/koenig-lexical-editor.js +++ b/ghost/admin/app/components/koenig-lexical-editor.js @@ -680,7 +680,7 @@ export default class KoenigLexicalEditor extends Component { const KGEditorComponent = ({isInitInstance}) => { return ( -
+
Date: Wed, 21 Aug 2024 09:58:51 +0000 Subject: [PATCH 2/2] v5.89.6 --- ghost/admin/package.json | 2 +- ghost/core/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ghost/admin/package.json b/ghost/admin/package.json index 6e22ad5fe6..58923912ce 100644 --- a/ghost/admin/package.json +++ b/ghost/admin/package.json @@ -1,6 +1,6 @@ { "name": "ghost-admin", - "version": "5.89.5", + "version": "5.89.6", "description": "Ember.js admin client for Ghost", "author": "Ghost Foundation", "homepage": "http://ghost.org", diff --git a/ghost/core/package.json b/ghost/core/package.json index 6090969018..ed7b7e5c57 100644 --- a/ghost/core/package.json +++ b/ghost/core/package.json @@ -1,6 +1,6 @@ { "name": "ghost", - "version": "5.89.5", + "version": "5.89.6", "description": "The professional publishing platform", "author": "Ghost Foundation", "homepage": "https://ghost.org",