| 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 |
|