mirror of
https://github.com/codex-team/editor.js
synced 2024-06-16 04:35:50 +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')
|
if (typeof codex.tools[tool].prepare != 'function')
|
||||||
continue;
|
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