feat: add 'Save to Library' button to lesson block actions.

This commit is contained in:
2026-02-16 20:53:50 -03:00
parent f9bea3c2e0
commit 12df920f60
@@ -559,6 +559,13 @@ export default function LessonEditor({ params }: { params: { id: string; lessonI
<ChevronDown className="w-5 h-5" />
</button>
<div className="h-4"></div>
<button
onClick={() => openSaveToLibraryModal(block)}
className="w-10 h-10 rounded-xl bg-emerald-500/10 text-emerald-400 flex items-center justify-center hover:bg-emerald-500 hover:text-white transition-all border border-emerald-500/20 group-hover/block:scale-110"
title="Save to Library"
>
<BookMarked className="w-5 h-5" />
</button>
<button
onClick={() => removeBlock(block.id)}
className="w-10 h-10 rounded-xl bg-red-500/10 text-red-400 flex items-center justify-center hover:bg-red-500 hover:text-white transition-all border border-red-500/20 group-hover/block:scale-110"