Skip to content

Form Validation: Post editor (block editor) #7343

@sc0ttkclark

Description

@sc0ttkclark

We need to prevent the block editor saving process when there are fields in an invalid state (required, bad format, etc).

  • Stop saving of a new post
  • Stop saving of a draft
  • Stop updating of a published post

Stop saving/updating means:

  • Do not save the post
  • Do not save the metaboxes

Bonus points:

  • Show the error in the publish flow (when publishing a new post)
  • Show a notice on the screen about errors being highlighted in the form below (maybe link to the first metabox?)

Sub-issues

Metadata

Metadata

Labels

Component: UIIssues related to user experience and interfacesType: FeatureFeatures that add entirely new functionality that was not there before

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions