Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Gist for my tutorial: Building a Gutenberg sidebar plugin Part 3: Registering with the block editor.
* WordPress dependencies.
const { registerPlugin } = wp.plugins;
* Register the MetaTags plugin.
registerPlugin("metatags", {
icon: 'editor-customchar',
render: // Some component for the sidebar.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment