Skip to content

v0.6.0

Choose a tag to compare

@TBarregren TBarregren released this 11 Jun 20:54
· 92 commits to main since this release

This release makes the Photo Drop Zone's upload controls fully editable blocks (ordinary core buttons wired by an anchor-token link target) and fixes the Photo Drop Gallery's per-image shadow so it actually renders.

Changed

  • The Photo Drop Zone's visible upload controls — the "Add photos" button and the folder picker — are now ordinary, fully editable blocks you author inside the block rather than fixed chrome. Each is a normal core button (or any link) wired to the uploader by an anchor-token link target (#kntnt-drop-zone-files opens the file picker, #kntnt-drop-zone-folder the folder picker). A freshly inserted block seeds both as styled buttons under the centred heading, and you can relabel, restyle, reposition, or remove either — or turn the folder one into a plain text link — like any other block. A Drop Zone saved before this change has no controls until you re-insert it or add a tokened button. (ADR-0010)

Fixed

  • The Photo Drop Gallery's per-image Shadow setting now actually shows. A custom shadow value was silently dropped (WordPress's style engine returns a raw box-shadow only under declarations, never folded into its css string, so reading css alone lost it), and a preset shadow reached the image but was clipped by the tile's overflow: hidden; both are fixed, so a shadow chosen in the inspector paints around the image.

Full changelog: https://github.com/Kntnt/kntnt-photo-drop/blob/v0.6.0/CHANGELOG.md