Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

fix: ensure cardinality validation considers block content#1562

Open
nbaosullivan wants to merge 1 commit intodevelopmentfrom
gutenberg-block-validation
Open

fix: ensure cardinality validation considers block content#1562
nbaosullivan wants to merge 1 commit intodevelopmentfrom
gutenberg-block-validation

Conversation

@nbaosullivan
Copy link
Copy Markdown
Contributor

@nbaosullivan nbaosullivan commented Aug 8, 2024

Motivation

The cardinality validation in silverback_gutenberg allows empty blocks to be saved when there is a minimum block count set, as the block is there, just empty. This adds an additional check that the block has some content in it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant