Skip to main content


First, indicate the directory to resolve plugin modules from:


Then, create *.plugin.{js,ts} modules.

Each should export the required properties of the WordPress Editor Plugin API. They should also export the plugin name (sometimes referred to as namespace in WordPress documentation).


Using named exports:

export const name = `example-plugin`
export const title = `Example plugin`
export const render = () => null

Using a default export:

export default {
name: `example-plugin`,
title: `Example plugin`,
render: () => null,