Image paste and insert in the editor #28
Labels
No Label
area:auth
area:docs
area:export
area:ops
area:storage
area:supply-chain
auth
backend
blocked
collab
deployment
docs
effort:L
effort:M
effort:S
frontend
plugins
qa
vs-nfd
vs-nfd:blocker
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: stwaidele/dorfteich#28
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
The vision explicitly demands clipboard-paste of images in addition to a classic menu.
Scope
Editor integration: paste/drop handler uploads via #27 (with progress placeholder node), toolbar insert dialog (file picker), image node rendering from
/media/:fileIdwith alt-text editing and simple width presets (small/medium/full), failure handling (upload error removes placeholder, shows toast).Acceptance criteria
Technical notes
Dependencies
Depends on #25, #27.
Size: ~1 day
Conventions: English code/comments, clear human-readable code, no hard-coded UI strings (ADR 0012, add
deanden), permission checks only via the shared guard (docs/architecture/permissions.md). Read the referenced ADRs before starting.Implemented in
c8be3cdand closed viaCloses #28. Pipeline verification for that commit:Acceptance criteria covered by
apps/web/e2e/image.spec.ts(run locally against the dev stack, not part of the CI auth pack): paste inserts an image after upload, drag-and-drop works, alt text is editable and lands in the document, and a failed upload never leaves a broken node (the in-flight state is a ProseMirror decoration, not a document node).