file upload

This commit is contained in:
2026-03-12 17:05:07 -05:00
parent cf188896be
commit f53030294b
6 changed files with 361 additions and 20 deletions
+4
View File
@@ -30,6 +30,8 @@ import { FileViewer } from "@/lib/extensions/file-viewer";
import { ImageUpload } from "@/lib/extensions/image-upload";
import { Video } from "@/lib/extensions/video";
import { VideoUpload } from "@/lib/extensions/video-upload";
import { FileAttachment } from "@/lib/extensions/file-attachment";
import { FileUpload } from "@/lib/extensions/file-upload";
interface TaskEditorProps {
content?: string;
@@ -167,6 +169,8 @@ export const TaskEditor: Component<TaskEditorProps> = (props) => {
ImageUpload,
Video,
VideoUpload,
FileAttachment,
FileUpload,
],
// Use untrack so the editor doesn't re-initialize when props.content changes
content: untrack(() => props.content) || "",