feat: prompt editor support auto height by content height and fix some bugs (#3712)

This commit is contained in:
Joel 2024-04-23 17:46:59 +08:00 • committed by GitHub
commit f92130338b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 52 additions and 39 deletions

View file

@ -29,6 +29,7 @@ const AdvancedSetting: FC<Props> = ({
return (
<>
<TextEditor
isInNode
title={t(`${i18nPrefix}.instruction`)!}
value={instruction}
onChange={onInstructionChange}

View file

@ -31,6 +31,7 @@ const ClassItem: FC<Props> = ({
return (
<TextEditor
isInNode
title={<div>
<div className='w-[200px]'>
<div