tipus/editor/main.jsx

15 lines
335 B
JavaScript

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