Preflight of branch BL-17014-PasteInlineImageInText at 8a7b20166, 2026-10-23 (third run, after simplifying the code). Gates green, every reviewer finished, nothing waiting on you.
Pasting a picture into a text block pasted the picture's file path as text instead of the picture. Ctrl+V in a text block is left to the browser and CKEditor, and most picture copies (Bloom's own Copy Image, a file copied in Explorer, a browser's "Copy image") put the path or URL on the clipboard as text beside the picture, so the text is what got pasted. The top-bar Paste button sent the picture to the page's canvas instead, or pasted the same text.
| Check | Result |
|---|---|
Typecheck (pnpm typecheck) | Pass |
| Lint (eslint on the changed files, and in the commit hook) | Pass, 0 errors |
| TypeScript tests (vitest, full suite) | Pass, 1630 passed · 113 files, at 696cba0ed; the front-end has changed since only by a comment |
C# tests (dotnet test via build/agent-dotnet.sh, full suite at HEAD) | Pass, 3837 passed · 1 skipped |
| Repo check: e2e specs at the nightly's window size | Did not apply: the diff adds or changes no src/BloomE2E/tests/*.spec.ts |
Merge with master | Clean, up to date |
CI (pr-automation) | Pass |
Simplified the paste code as you asked: the save delay and the double-paste guard moved into the "Paste image" command, the unneeded file-name fallback and an early return went, and a stray comment was folded in. The light review found that the move left one gap, a failed picture import that C# never reported, which a small C# fix closes. See the commit list.
c46293b11 (ChangePicture now reports failure, so OnPasteImage tells the page). It checked the GIF, empty-clipboard, declined-JPEG and new-canvas-element paths and found them fine.8a7b20166, nothing new. On the simplification it raised two bugs, both answered as not acting: image files without a MIME type (the fallback was removed on purpose) and a cancelled paste keeps an entry (it lasts only until the page changes). All its earlier findings are fixed or answered. Consultation log.696cba0ed (re-triggered for the simplification): "no new actionable issue". It has not reviewed the C# fix or the comment fix after it, which Devin has; it was not re-triggered for those.pr-automation passed for 8a7b20166.Your last answer (leave the second-paste behavior as it is) is recorded in the code comment on getInlineImagePasteTarget and in the test ideas on BL-17014. The PR is ready for your own final review.