Changeset 9effb80 in Klonkt for src/assets

Timestamp:
06/21/2026 04:37:18 PM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
421c2d4
Parents:
015ce46
Message:

fix(editor): CSP blocked blob: image → empty edit dialog

img-src was missing blob:, so the Cropper <img> (URL.createObjectURL → blob:)
was silently blocked by CSP → no image visible. Added blob: to img-src (media-src
already had it for audio). + onerror fallback in the editor: if the image fails
to load, the original is uploaded instead of getting stuck.

Co-Authored-By: Claude <noreply@…>

(No files)

Note: See TracChangeset for help on using the changeset viewer.