Repository navigation
Image: Add border style support - #86733
Conversation
🤖 PR meta 🤖🎉 PropsIf you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. Props Bot commandsYou can trigger Props Bot actions by commenting on this PR:
Updated as activity occurs, without notifying anyone named here. Add the ⚡ PerformanceShow the resultsClient side metrics exclude the server response time. front-end-block-theme
front-end-classic-theme
media-processing
media-upload
post-editor
site-editor
🏁 Flaky testsSome tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information. Should duplicate the widgets in Undo restores the post selection when another synced entity is loaded (RTC WebSocket) in
|
f272994 to
16c191a
Compare

Related:
What?
Adds a border style control (solid, dashed, dotted) to the Image block.
Why?
Image has border color, radius and width but no style. Themes such as Twenty Twenty-One override the
solidfallback, so a border without a style does not show (#47401). Post Featured Image already has the control (#83956).How?
Adds
styleto__experimentalBorderinblock.json, outside the default controls, as in #83956.The editor and
savealready passstylethrough. Saved markup without a style is unchanged.Testing Instructions
2pxsolid#1e1e1e, radius4px.4pxdotted, radius0px.6pxdashed#3858e9, radius16px.8pxsolid, radius24px.double, set in the Code editor."style":"solid"and it shows.Screenshots or screencast
Use of AI Tools
Written with Claude Code, then reviewed and tested.