This commit is contained in:
Ray Elliott 2020-08-16 17:35:43 +01:00
parent 1c9ddd2507
commit 407539444c
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
* Add some default components to `src/index.js`.
- In particular, most used UI controls (e.g., colour picker?).
- Will want an InspectorControls with a PanelBody
- Also want some BloclControl on there
- Also want some BlockControls on there
- Must ensure they are easily able to be quickly removed.
## Usage

View File

@ -4,8 +4,8 @@ import './editor.scss';
import { registerBlockType } from '@wordpress/blocks';
import { __ } from '@wordpress/i18n';
registerBlockType( 'room-vw/svg', {
title: __( 'SVG Wrapper', 'room-vw' ),
registerBlockType( '<NAMESPACE>/<SLUG>', {
title: __( '<BLOCK TITLE>', '<SLUG>' ),
category: 'widgets',