Fix renderer and editor issues
Summary
- Fix preview spacing not showing line breaks (#759 (closed))
- Fix image upload URL corruption when typing (#672 (closed))
- Fix Ctrl+Home/End not scrolling in Firefox (#507 (closed))
- Fix table cell content rendering - links broken into parts (#632 (closed))
Changes
-
Preview spacing: Remove
my-0margin override from paragraphs in preview mode to show proper line breaks - Image upload: Replace direct DOM manipulation with React state functional updates to fix race conditions
- Firefox scroll: Add keyboard handler for Ctrl+Home/End to ensure proper scrolling behavior
- Table rendering: Fix HtmlDOMParser to not wrap linkified content in span, add CSS for table cell styling
Test plan
- Test preview mode shows proper spacing between paragraphs
- Test image upload doesn't corrupt URLs when typing
- Test Ctrl+Home/End scrolls properly in Firefox
- Test tables with links render correctly (text not broken)
Closes #759 (closed) Closes #672 (closed) Closes #507 (closed) Closes #632 (closed)