From 9d9e2961489ba0ac79c631a015f462f358eeacd6 Mon Sep 17 00:00:00 2001 From: Rishabh Date: Tue, 6 Jun 2023 23:55:33 +0530 Subject: [PATCH 1/2] Disabled image editor setting check refs https://github.com/TryGhost/Team/issues/3034 Temporarily disables image editor setting check to allow it load by default --- ghost/admin/app/components/koenig-image-editor.js | 6 ------ ghost/admin/app/components/koenig-lexical-editor.js | 6 ------ 2 files changed, 12 deletions(-) diff --git a/ghost/admin/app/components/koenig-image-editor.js b/ghost/admin/app/components/koenig-image-editor.js index 2d79465bde..579ce6e0db 100644 --- a/ghost/admin/app/components/koenig-image-editor.js +++ b/ghost/admin/app/components/koenig-image-editor.js @@ -19,16 +19,10 @@ export default class KoenigImageEditor extends Component { } get pinturaJsUrl() { - if (!this.settings.pintura) { - return null; - } return this.config.pintura?.js || this.settings.pinturaJsUrl; } get pinturaCSSUrl() { - if (!this.settings.pintura) { - return null; - } return this.config.pintura?.css || this.settings.pinturaCssUrl; } diff --git a/ghost/admin/app/components/koenig-lexical-editor.js b/ghost/admin/app/components/koenig-lexical-editor.js index b00bb11fd0..852ffd35b5 100644 --- a/ghost/admin/app/components/koenig-lexical-editor.js +++ b/ghost/admin/app/components/koenig-lexical-editor.js @@ -135,16 +135,10 @@ export default class KoenigLexicalEditor extends Component { offers = null; get pinturaJsUrl() { - if (!this.settings.pintura) { - return null; - } return this.config.pintura?.js || this.settings.pinturaJsUrl; } get pinturaCSSUrl() { - if (!this.settings.pintura) { - return null; - } return this.config.pintura?.css || this.settings.pinturaCssUrl; } From 924d73e02efcc93692d21b6472288807fb76f24f Mon Sep 17 00:00:00 2001 From: Ghost CI <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 6 Jun 2023 19:05:19 +0000 Subject: [PATCH 2/2] v5.50.2 --- 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 61fad8edfc..e58d6a8111 100644 --- a/ghost/admin/package.json +++ b/ghost/admin/package.json @@ -1,6 +1,6 @@ { "name": "ghost-admin", - "version": "5.50.1", + "version": "5.50.2", "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 37fe289cb5..bb04495d61 100644 --- a/ghost/core/package.json +++ b/ghost/core/package.json @@ -1,6 +1,6 @@ { "name": "ghost", - "version": "5.50.1", + "version": "5.50.2", "description": "The professional publishing platform", "author": "Ghost Foundation", "homepage": "https://ghost.org",