Skip to content

Commit

Permalink
Add a schema to the core/separator block
Browse files Browse the repository at this point in the history
  • Loading branch information
nylen committed May 26, 2017
1 parent b732903 commit c1455a2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions blocks/library/separator/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* External dependencies
*/
import {
Schema,
createSchemaElement, // eslint-disable-line no-unused-vars
} from 'phs';

/**
* Internal dependencies
*/
Expand All @@ -7,6 +15,12 @@ import { registerBlock } from '../../api';
registerBlock( 'core/separator', {
title: wp.i18n.__( 'Separator' ),

schema: (
<Schema>
<hr />
</Schema>
),

icon: 'minus',

category: 'layout',
Expand Down

0 comments on commit c1455a2

Please sign in to comment.