Skip to content

Conversation

@nbaosullivan
Copy link
Contributor

@nbaosullivan nbaosullivan commented Nov 13, 2025

Description of changes

Extend the cardinality validator to ensure content of children blocks is checked, not just the count. The cardinality validator now ensures at least one counted child (or any descendant) must expose meaningful content (non-empty HTML or attributes). The rest of any validation would be left to block-specific validation, like using the required validator.

@nbaosullivan nbaosullivan force-pushed the SLB-468-cardinality-validator-improvement branch from f654a5f to c8c5425 Compare November 13, 2025 13:16
Extend the cardinality validator to ensure content of children blocks is checked, not just the count
@nbaosullivan nbaosullivan force-pushed the SLB-468-cardinality-validator-improvement branch from c8c5425 to a9b3e39 Compare November 13, 2025 16:45
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