feat: add resizable image component and rich text editor with image upload support

This commit is contained in:
Linus Rath
2026-03-21 20:45:23 +01:00
parent a835af2d71
commit df272e38ef
9 changed files with 1521 additions and 105 deletions
+1
View File
@@ -644,6 +644,7 @@ export default function CalendarPage() {
const handleKey = (e: KeyboardEvent) => {
const target = e.target as HTMLElement;
if (target.tagName === "INPUT" || target.tagName === "TEXTAREA" || target.tagName === "SELECT") return;
if (target.getAttribute("contenteditable") === "true") return;
if (showEventModal || detailEvent) return;
switch (e.key) {