PluginProbe
Content Blocks Builder – Create blocks, repeater blocks with carousel, grid, popup layouts / trunk
Content Blocks Builder – Create blocks, repeater blocks with carousel, grid, popup layouts vtrunk
2.8.14 2.8.13 2.8.12 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 2.8.0 2.8.1 2.8.10 2.8.11 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.8.9 trunk 1.0.1 1.0.2 1.1.0 1.1.1 All 147 releases
content-blocks-builder / src / block-library / variations.js

variations.js in Content Blocks Builder – Create blocks, repeater blocks with carousel, grid, popup layouts trunk, at src/block-library/variations.js

29 lines 614 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * External dependencies
3 */
4
5 /**
6 * WordPress dependencies
7 */
8 import { __ } from "@wordpress/i18n";
9 import domReady from "@wordpress/dom-ready";
10 import { createRoot } from "@wordpress/element";
11 import { registerCoreBlocks } from "@wordpress/block-library";
12
13 /**
14 * Internal dependencies
15 */
16 import LibraryPage from "./library-page";
17
18 // Register core blocks.
19 registerCoreBlocks();
20
21 /**
22 * Kick start
23 */
24 domReady(() => {
25 createRoot(document.querySelector(".js-boldblocks-settings-root")).render(
26 <LibraryPage contentType="variation" className="is-library-page" />,
27 );
28 });
29