mirror of
https://github.com/codex-team/editor.js
synced 2026-03-17 08:05:47 +01:00
Fix i18n default configuration (#1290)
* Fix i18n default configuration * update bundle
This commit is contained in:
parent
f513fdd69d
commit
0929abc17e
2 changed files with 2 additions and 1 deletions
2
dist/editor.js
vendored
2
dist/editor.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -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 => {});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue