Merge pull request #30 from fantasticit/feat/kity-minder

This commit is contained in:
fantasticit 2022-04-26 19:35:07 +08:00 committed by GitHub
commit 09f08d5ed4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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);