update
This commit is contained in:
parent
1c9ddd2507
commit
407539444c
|
@ -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
|
||||
|
|
|
@ -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',
|
||||
|
||||
|
|
Loading…
Reference in New Issue