Open mogmarsh opened 1 week ago
I've been discussing with @kevinfodness, and here's what we think this would look like:
usePostMeta
to get a value that has been updated by the Block Editor, and fail back to the value from the REST endpoint.Bonus points:
I'd recommend splitting the implementation steps into separate issues so that we can ship something initially that swaps the metabox for a PluginSidebar that shows meta visible to/managed by the editor, then iterates on that solution by adding the hidden meta, adding an open in a modal button, and adding the JSON prettifier.
Description
On post types that use the Block Editor (Gutenberg), it would be useful if the inspector reflected the Post Editor's data.
Use Case
Currently in the Block Editor, you must Save the post, then refresh to see the latest meta data.