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
This commit is contained in:
Rishabh 2023-06-06 23:55:33 +05:30
parent 6a07d63f38
commit 9d9e296148
2 changed files with 0 additions and 12 deletions

View File

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

View File

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