block-components icon indicating copy to clipboard operation
block-components copied to clipboard

Make `PostMeta` component more robust by adding better error handeling if meta key doesn't exist

Open fabiankaegy opened this issue 2 years ago • 0 comments

Currently, you can end up breaking a block if you use the PostMeta component with a metaKey that isn't supported for a given post type. Ideally the component should be self aware whether the current context supports the term and if it doesn't render an inline warning.

fabiankaegy avatar Feb 28 '23 14:02 fabiankaegy