diff --git a/resources/js/modules/editor/partials/text-sidebar.jsx b/resources/js/modules/editor/partials/text-sidebar.jsx index d8e3bb8..4113717 100644 --- a/resources/js/modules/editor/partials/text-sidebar.jsx +++ b/resources/js/modules/editor/partials/text-sidebar.jsx @@ -4,8 +4,8 @@ import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@ import { Sheet, SheetContent, SheetHeader, SheetTitle } from '@/components/ui/sheet'; import { Textarea } from '@/components/ui/textarea'; import { useMitt } from '@/plugins/MittContext'; -import useVideoEditorStore from '@/stores/VideoEditorStore'; import useMediaStore from '@/stores/MediaStore'; +import useVideoEditorStore from '@/stores/VideoEditorStore'; import { Bold, Italic, Minus, Plus, Type } from 'lucide-react'; import { useEffect, useState } from 'react'; @@ -84,7 +84,7 @@ export default function TextSidebar({ isOpen, onClose }) { elementId: selectedTextElement.id, updates: { text: newText }, }); - + // Update MediaStore to maintain single source of truth updateCurrentCaption(newText); } @@ -303,7 +303,7 @@ export default function TextSidebar({ isOpen, onClose }) { {/* Note about transformer resize */} -
💡 You can also resize by dragging the corners
+ {/*
💡 You can also resize by dragging the corners
*/} {/* Font Style Controls */}