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; }