Merge pull request #36 from fantasticit/feat/mobile

This commit is contained in:
fantasticit 2022-05-04 19:20:16 +08:00 committed by GitHub
commit 221ac1b0c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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() {},
}, },