mirror of https://github.com/fantasticit/think.git
Merge pull request #30 from fantasticit/feat/kity-minder
This commit is contained in:
commit
09f08d5ed4
|
@ -111,6 +111,10 @@ export const MindWrapper = ({ editor, node, updateAttributes }) => {
|
|||
minder.execCommand('theme', theme);
|
||||
minder.execCommand('zoom', parseInt(zoom));
|
||||
|
||||
if (!isEditable) {
|
||||
minder.disable();
|
||||
}
|
||||
|
||||
$mind.current = minder;
|
||||
minder.on('contentChange', onChange);
|
||||
toggleLoading(false);
|
||||
|
|
Loading…
Reference in New Issue