update
This commit is contained in:
parent
1c9ddd2507
commit
407539444c
|
@ -4,7 +4,7 @@
|
||||||
* Add some default components to `src/index.js`.
|
* Add some default components to `src/index.js`.
|
||||||
- In particular, most used UI controls (e.g., colour picker?).
|
- In particular, most used UI controls (e.g., colour picker?).
|
||||||
- Will want an InspectorControls with a PanelBody
|
- 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.
|
- Must ensure they are easily able to be quickly removed.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
|
@ -4,8 +4,8 @@ import './editor.scss';
|
||||||
import { registerBlockType } from '@wordpress/blocks';
|
import { registerBlockType } from '@wordpress/blocks';
|
||||||
import { __ } from '@wordpress/i18n';
|
import { __ } from '@wordpress/i18n';
|
||||||
|
|
||||||
registerBlockType( 'room-vw/svg', {
|
registerBlockType( '<NAMESPACE>/<SLUG>', {
|
||||||
title: __( 'SVG Wrapper', 'room-vw' ),
|
title: __( '<BLOCK TITLE>', '<SLUG>' ),
|
||||||
|
|
||||||
category: 'widgets',
|
category: 'widgets',
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue