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.
class Sidebar extends React.Component {
render() {
return (
<PluginSidebarMoreMenuItem target="metatags-sidebar" icon='editor-customchar'>
{__("MetaTags", "metatags")}
<PluginSidebar name="metatags-sidebar" title={__("MetaTags", "metatags")} >
<div className="metabox-sidebar-content">
export default Sidebar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment