15 lines
334 B
React
15 lines
334 B
React
|
import { createRoot, StrictMode } from '@wordpress/element';
|
||
|
import { registerCoreBlocks } from '@wordpress/block-library';
|
||
|
import '@wordpress/format-library';
|
||
|
|
||
|
registerCoreBlocks();
|
||
|
|
||
|
import Editor from './Editor';
|
||
|
|
||
|
const root = createRoot(document.querySelector('main'));
|
||
|
root.render(
|
||
|
<StrictMode>
|
||
|
<Editor/>
|
||
|
</StrictMode>
|
||
|
);
|