Spent the evening experimenting with Gutenberg’s PluginPrePublishPanel
. Thought it’d be nice if I could move Share on Mastodon’s “meta box” there. Think Jetpack does something similar.
Now I’m not so sure anymore. On the one hand, it may help prevent sharing when updating old posts. On the other, it’s almost too easy to simply disable the panel, so I’d probably still need a regular PluginDocumentSettingPanel
.
Also, the way I currently process the old-style meta box interferes with Gutenberg’s setMeta()
. No biggie, we can turn that off. Except … there’s still that “Custom Fields” panel (which I have open often): https://github.com/WordPress/gutenberg/issues/23078.
Conclusion, at least for now: I’m sticking with a regular meta box. (Which within Gutenberg looks somewhat out of place, but not horribly so.)