mirror of
https://github.com/codex-team/editor.js
synced 2024-05-23 00:32:28 +02:00
Fixed
This commit is contained in:
parent
5c95baed54
commit
e7c05cf166
4220
codex-editor.js
4220
codex-editor.js
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
|
@ -311,9 +311,7 @@ var ui = (function(ui){
|
|||
if (typeof codex.tools[tool].prepare != 'function')
|
||||
continue;
|
||||
|
||||
if (codex.tools[tool].config) {
|
||||
codex.tools[tool].prepare(codex.tools[tool].config);
|
||||
}
|
||||
codex.tools[tool].prepare(codex.tools[tool].config || {});
|
||||
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue