Anton Tranelis 9f74815ee3 fix(tiptap): add null checks, extract video patterns to shared module
- Add null checks for editor in RichTextEditor (handleChange, useEffect)
- Extract video URL patterns to shared videoPatterns.ts module
- Refactor VideoEmbed.tsx and preprocessMarkdown.ts to use shared patterns
- Add helper functions: getVideoEmbedUrl, getVideoCanonicalUrl, parseVideoUrl
- Remove unused markdownToTiptapJson function

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 09:10:20 +01:00
..