diff --git a/blocks/library/index.js b/blocks/library/index.js index d317bb73d18661..4c2d81d114e105 100644 --- a/blocks/library/index.js +++ b/blocks/library/index.js @@ -5,3 +5,4 @@ import './image'; import './text'; import './list'; import './quote'; +import './separator'; diff --git a/blocks/library/separator/index.js b/blocks/library/separator/index.js new file mode 100644 index 00000000000000..56f2c60b613f69 --- /dev/null +++ b/blocks/library/separator/index.js @@ -0,0 +1,21 @@ +/** + * Internal dependencies + */ +import './style.scss'; +import { registerBlock } from 'api'; + +registerBlock( 'core/separator', { + title: wp.i18n.__( 'Separator' ), + + icon: 'minus', + + category: 'common', + + edit() { + return
I imagine prior to the launch of the iPod, or the iPhone, there were teams saying the same thing: the copy + paste guys are so close to being ready and we know Walt Mossberg is going to ding us for this so let\'s just not ship to the manufacturers in China for just a few more weeks… The Apple teams were probably embarrassed. But if you\'re not embarrassed when you ship your first version you waited too long.
', '', + '', + '