UNPKG

689 BJavaScriptView Raw
1/**
2 * WordPress dependencies
3 */
4import { registerBlockType, setDefaultBlockName } from '@wordpress/blocks';
5/**
6 * Internal dependencies
7 */
8
9import * as code from './code';
10import * as heading from './heading';
11import * as more from './more';
12import * as paragraph from './paragraph';
13import * as image from './image';
14import * as nextpage from './nextpage';
15export var registerCoreBlocks = function registerCoreBlocks() {
16 [paragraph, heading, code, more, image, nextpage].forEach(function (_ref) {
17 var name = _ref.name,
18 settings = _ref.settings;
19 registerBlockType(name, settings);
20 });
21};
22setDefaultBlockName(paragraph.name);
23//# sourceMappingURL=index.native.js.map
\No newline at end of file