mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
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:
parent
6a07d63f38
commit
9d9e296148
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user