diff --git a/src/components/BlinkoEditor/index.tsx b/src/components/BlinkoEditor/index.tsx index 71dc184..26cf8ff 100644 --- a/src/components/BlinkoEditor/index.tsx +++ b/src/components/BlinkoEditor/index.tsx @@ -28,7 +28,6 @@ export const BlinkoEditor = observer(({ mode, onSended, onHeightChange }: IProps originFiles={!isCreateMode ? blinko.curSelectedNote?.attachments : []} content={isCreateMode ? blinko.noteContent! : blinko.curSelectedNote?.content!} onChange={v => { - onHeightChange?.(editorRef.current?.clientHeight ?? 75) isCreateMode ? (blinko.noteContent = v) : (blinko.curSelectedNote!.content = v) }} onHeightChange={() => { @@ -39,7 +38,6 @@ export const BlinkoEditor = observer(({ mode, onSended, onHeightChange }: IProps isCreateMode ?