mirror of
https://github.com/codex-team/editor.js
synced 2024-06-29 19:02:42 +02:00
Merge branch 'master' into image-module
This commit is contained in:
commit
fc43d6a4f9
|
@ -678,7 +678,9 @@ var codex =
|
|||
|
||||
if (typeof codex.tools[tool].prepare != 'function') continue;
|
||||
|
||||
codex.tools[tool].prepare();
|
||||
if (codex.tools[tool].config) {
|
||||
codex.tools[tool].prepare(codex.tools[tool].config);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -311,7 +311,10 @@ var ui = (function(ui){
|
|||
if (typeof codex.tools[tool].prepare != 'function')
|
||||
continue;
|
||||
|
||||
codex.tools[tool].prepare();
|
||||
if (codex.tools[tool].config) {
|
||||
codex.tools[tool].prepare(codex.tools[tool].config);
|
||||
}
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue