Fix i18n default configuration (#1290)

* Fix i18n default configuration

* update bundle
This commit is contained in:
Murod Khaydarov 2020-08-28 21:00:24 +03:00 committed by GitHub
commit 0929abc17e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

2
dist/editor.js vendored

File diff suppressed because one or more lines are too long

View file

@ -189,6 +189,7 @@ export default class Core {
this.config.hideToolbar = this.config.hideToolbar ? this.config.hideToolbar : false;
this.config.tools = this.config.tools || {};
this.config.i18n = this.config.i18n || {};
this.config.data = this.config.data || {} as OutputData;
// eslint-disable-next-line @typescript-eslint/no-empty-function
this.config.onReady = this.config.onReady || ((): void => {});