Logo

deco.cx Admin: Publish Validation

Lucas Ribeiro
Lucas Ribeiro
March 19, 2026
deco.cx Admin: Publish Validation

This week in the deco.cx Admin: publish-time validation that catches missing required properties in your blocks before changes go live.


Block Validation on Publish

When editing content in the Admin, you can accidentally remove a required property from a block. A link missing its URL, a card without a title, a footer item with an empty href. Previously, there was no way to catch these issues before publishing. You would only find out when the page broke in production.

The Admin now validates blocks against their TypeScript schemas when you publish. If any block is missing required properties, a dialog appears listing the affected blocks and what's missing. Each block in the list is clickable, so you can jump directly to it in the editor.

The dialog separates issues into two levels. Errors block the publish entirely and must be fixed first. Warnings let you choose: go back and fix the problems, or click "Publish anyway" to proceed.

A warning lists the affected blocks and lets you publish anyway.
An error blocks the publish until the missing properties are fixed.

The feature is opt-in. To enable it, go to Management > Settings > Blocks Validator. From there you can also add ignore rules to skip validation for specific pages, saved blocks, or section types that intentionally leave required fields empty.


Other Improvements

check
Remove button for optional media fields: clearing an optional image or video no longer requires opening the Change dropdown, the remove action is now visible directly below the preview
check
Inline mode for rich text fields: new html-inline and rich-text-inline formats prevent TipTap from wrapping content in paragraph tags, for single-line fields like titles and labels
check
Empty values cleaned on save: clearing a field in the Admin now removes the property from JSON instead of saving it as an empty string or empty array

What's Next

These changes are live now in the deco.cx Admin.

If you have feedback, reach out on Discord.

Stay up to date

Subscribe to our newsletter and get the latest updates, tips, and exclusive content delivered straight to your inbox.

We respect your privacy. Unsubscribe at any time.

You might also like

See all