Enrich lesson comments: Markdown formatting, edit, higher limit
Add a formatting toolbar + safe Markdown rendering (react-markdown + rehype-sanitize), raise the length limit 2000 -> 10000, and let authors edit their own comments (new editComment action + editedAt column shown as an 'изменено' badge).
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
-- Комментарии под уроками: метка «изменено» (ставится только при редактировании текста)
|
||||
ALTER TABLE "LessonComment" ADD COLUMN "editedAt" TIMESTAMP(3);
|
||||
Reference in New Issue
Block a user