feat(editor): ⚡️ Accept uploaded gif for image bubble
This commit is contained in:
@ -41,7 +41,7 @@ export const UploadButton = ({
|
||||
id="file-input"
|
||||
display="none"
|
||||
onChange={handleInputChange}
|
||||
accept=".jpg, .jpeg, .png, .svg"
|
||||
accept=".jpg, .jpeg, .png, .svg, .gif"
|
||||
/>
|
||||
<Button
|
||||
as="label"
|
||||
|
@ -67,7 +67,7 @@ export const ImageBubble = ({ block, onTransitionEnd }: Props) => {
|
||||
ref={image}
|
||||
src={url}
|
||||
className={
|
||||
'p-4 content-opacity z-10 w-auto ' +
|
||||
'p-4 content-opacity z-10 w-auto rounded-lg ' +
|
||||
(isTyping ? 'opacity-0' : 'opacity-100')
|
||||
}
|
||||
style={{
|
||||
|
Reference in New Issue
Block a user