ContentBlocks ContentBlocks 2.x Developer Custom Plugins
When extending ContentBlocks, you have the option to create custom input types (which contain content), as well as custom plugins (which contain manager-side behavior).
This section is about Custom Plugins. To learn more about built-in plugins, see plugins.
Plugins are written as a single JavaScript file/class and can be built to support block, layout, or canvas-level instantiation. There are lots of events you can listen to (or dispatch) and in-built utilities to build on.