mirror of https://github.com/fantasticit/think.git
Merge pull request #36 from fantasticit/feat/mobile
This commit is contained in:
commit
221ac1b0c5
|
@ -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() {},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue