From 407539444c4047dd0f4b9fc581b49d0188a0ad2d Mon Sep 17 00:00:00 2001 From: ray Date: Sun, 16 Aug 2020 17:35:43 +0100 Subject: [PATCH] update --- README.md | 2 +- src/index.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index dacac9e..d7eacfe 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/src/index.js b/src/index.js index a9f4c0d..d91789f 100644 --- a/src/index.js +++ b/src/index.js @@ -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( '/', { + title: __( '', '' ), category: 'widgets',