# ghostkit/3.3.3/gutenberg/plugins.js

Block Animations, Motion &amp; Scroll Effects – Ghost Kit, version 3.3.3. 39 lines.

- Page: https://pluginprobe.com/plugins/ghostkit/3.3.3/code/gutenberg/plugins.js
- Raw: https://pluginprobe.com/plugins/ghostkit/3.3.3/raw/gutenberg/plugins.js
- Modified: 2024-05-26T08:10:12+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/ghostkit/3.3.3/code/gutenberg/plugins.js#L10-L20`.

```javascript
import { registerPlugin } from '@wordpress/plugins';

import * as colorPalette from './plugins/color-palette';
import * as customCode from './plugins/custom-code';
import * as customizer from './plugins/customizer';
import * as editorIframeResize from './plugins/editor-iframe-resize';
import * as ghostkit from './plugins/ghostkit';
import * as templates from './plugins/templates';
import * as typography from './plugins/typography';

const { GHOSTKIT } = window;

/**
 * Register plugins
 */
[
	ghostkit,
	templates,
	typography,
	customCode,
	colorPalette,
	customizer,
	editorIframeResize,
].forEach(({ name, icon, Plugin }) => {
	if (
		(name === 'ghostkit-color-palette' &&
			!GHOSTKIT.allowPluginColorPalette) ||
		(name === 'ghostkit-customizer' && !GHOSTKIT.allowPluginCustomizer) ||
		(name === 'ghostkit-templates' && !GHOSTKIT.allowTemplates)
	) {
		return;
	}

	registerPlugin(name, {
		icon,
		render: Plugin,
	});
});

```
