fix: delete auto scroll

This commit is contained in:
fantasticit 2022-05-04 19:19:50 +08:00
parent 680303c078
commit ae552e192c
1 changed files with 0 additions and 8 deletions

View File

@ -78,17 +78,9 @@ export const EditorInstance = forwardRef((props: IProps, ref) => {
} catch (e) { } catch (e) {
// //
} }
if (editable) {
scrollEditor(this);
}
}, },
onCreate() { onCreate() {
toggleCreated(true); toggleCreated(true);
if (editable) {
scrollEditor(this);
}
}, },
onDestroy() {}, onDestroy() {},
}, },