Skip to content

Commit 1a82885

Browse files
authored
refactor: use text area for caption
1 parent 615dc1e commit 1a82885

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/editor-ui/src/dialogs/edit-image.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,11 @@ const imagePanel =
154154
: null
155155
}
156156
<Field label={t("Caption")}>
157-
<Input
157+
<Textarea
158158
value={caption}
159159
onChange={(_ev, data) => setCaption(data.value)}
160160
placeholder={t("(Optional)")}
161+
resize="vertical"
161162
/>
162163
</Field>
163164

0 commit comments

Comments
 (0)