Fix renderer and editor issues

Summary

Changes

  • Preview spacing: Remove my-0 margin 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)

🤖 Generated with Claude Code

Merge request reports

Loading