Skip to content

Conversation

@jasperf
Copy link
Contributor

@jasperf jasperf commented Oct 28, 2025

This patch release focuses on improving the reliability and WordPress Gutenberg compatibility of block patterns across the Callandor library. The changes address critical rendering issues in image and column blocks, ensure proper alignment class implementation, and standardize pattern structure to prevent "unexpected or invalid content" errors in the WordPress block editor. Version 1.0.0-beta.7 includes updates to 8 pattern files spanning hero, CTA, features, testimonials, pricing, team, and contact categories, with particular attention to border styling and layout constraints.

WordPress Gutenberg Compatibility Fixes:

  • Corrected image block border-radius implementation to use simple string format ("radius":"8px") instead of individual corner objects, preventing block validation errors across hero, team, and testimonial patterns
  • Fixed column block border color attributes to use borderColor property with proper CSS classes (has-border-color, has-border-light-border-color) rather than inline style objects in pricing and feature patterns
  • Standardized HTML rendering to match WordPress core expectations for border and spacing attributes

Layout and Alignment Improvements:

  • Added alignwide class to column containers in hero-with-cta and hero-two-tone patterns to ensure proper content width constraints within theme layouts
  • Updated title styling in hero-two-tone pattern for improved visual hierarchy and consistency with theme design tokens

Release Management:

  • Incremented version to 1.0.0-beta.7 in plugin header, constant definition, and readme.txt stable tag
  • Updated CHANGELOG.md and readme.txt with detailed notes on Gutenberg compatibility fixes and pattern improvements

Files Changed:

@jasperf jasperf merged commit 8c830be into main Oct 28, 2025
1 check passed
@jasperf jasperf deleted the patterns-patch-v2 branch October 28, 2025 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants