Skip to content

[Feature] - Add image upload functionality with multer and integrate in editor#1

Merged
ElizabethSobiya merged 6 commits intodevfrom
feature/image-upload
Mar 9, 2026
Merged

[Feature] - Add image upload functionality with multer and integrate in editor#1
ElizabethSobiya merged 6 commits intodevfrom
feature/image-upload

Conversation

@ElizabethSobiya
Copy link
Copy Markdown
Contributor

@ElizabethSobiya ElizabethSobiya commented Mar 8, 2026

Description

  • Image upload, toolbar button uploads to /api/uploads, inserts as
    ImageNode (block-level DecoratorNode). Click to select,
    Backspace/Delete to remove. Persists after refresh. Included in PDF
    export.
  • Auto-save indicator fix "Saving…" state was never visible because
    localStorage is sync and React batched the state updates. Fixed with a
    deferred setIsSaving(false).
  • ESLint v9 flat config, added root eslint.config.mjs so lint-staged
    works from repo root. Added missing eslint plugins to apps/web.
  • Vite dev proxy, proxies /api and /uploads to localhost:3001,
    eliminating CORS in development.
  • CI fix npm ci → npm install to fix cross-platform lock file
    failures on Linux runners.
  • Docs README and CONTRIBUTING updated with image upload, quick-start
    improvements, and common error fixes.

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Docs / chore

How to test

Screenshots

Checklist

  • Tests pass
  • No TypeScript errors (npm run typecheck)
  • No lint warnings (npm run lint)
  • Docs updated if needed
  • Targets the dev branch (not main)

@ElizabethSobiya ElizabethSobiya merged commit 1712cf0 into dev Mar 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants