feat(comments): add drag-and-drop support for image attachments and enhance image validation

This commit is contained in:
Yusuf İpek
2026-03-01 18:53:54 +03:00
parent 147e5520a3
commit 75535e8cda
5 changed files with 64 additions and 23 deletions
+2
View File
@@ -414,6 +414,7 @@ export function VideoPageContent({ mode, videoId, projectId: propProjectId }: Vi
handleAddComment,
handleImageSelect,
handlePaste,
handleDrop,
startRecording,
stopRecording,
cancelRecording,
@@ -814,6 +815,7 @@ export function VideoPageContent({ mode, videoId, projectId: propProjectId }: Vi
replyImageInputRef={replyImageInputRef}
handleImageSelect={handleImageSelect}
handlePaste={handlePaste}
handleDrop={handleDrop}
submitReplyWithMedia={commentsActions.onSubmitReplyWithMedia}
isSubmittingReply={isSubmittingReply}
isUploadingReplyAudio={isUploadingReplyAudio}