fix: delete auto scroll

This commit is contained in:
fantasticit
2022-05-04 19:19:50 +08:00
parent 680303c078
commit ae552e192c
@@ -78,17 +78,9 @@ export const EditorInstance = forwardRef((props: IProps, ref) => {
} catch (e) {
//
}
if (editable) {
scrollEditor(this);
}
},
onCreate() {
toggleCreated(true);
if (editable) {
scrollEditor(this);
}
},
onDestroy() {},
},