34. import ImageButton from "./ImageButton";
import ImageBlock from "./ImageBlock";
export default {
// Friendly plugin name
title: "Image",
// A unique plugin name used to identify the plugin and its blocks
type: "image",
// React component to be rendered in the block sidebar
buttonComponent: ImageButton,
// React component for rendering the content block
blockComponent: ImageBlock
};
1
2
3
4
5
6
7
8
9
10
11
12
13
PluginStructure