This commit is contained in:
2026-03-27 00:32:28 +09:00
parent be40b4bcc4
commit e8be071064
6 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ export default (({ title: initTitle, body: initBody, onSubmit, id }: Props) => {
formData,
{ headers: { 'Content-Type': 'multipart/form-data' } })
return `{{img:${ asset.no }}}`
return asset.url
}
return (
+1 -1
View File
@@ -43,7 +43,7 @@ const makeComponents = (preview = false) => (
img: (({ src, alt }) => (
<img src={src ?? ''}
alt={alt ?? ''}
className="max-w-full h-auto rounded"/>)),
className="max-w-[240px] max-h-[320px]"/>)),
} as const satisfies Components)