Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "Separator" (hr) block to the library. #619

Merged
merged 1 commit into from
May 3, 2017
Merged

Conversation

mtias
Copy link
Member

@mtias mtias commented May 3, 2017

This is a simple separator using hr.

Attributes

  • None.

image

@mtias mtias added the [Feature] Blocks Overall functionality of blocks label May 3, 2017
@mtias mtias force-pushed the add/block-separator branch from d5af4ae to c927ec8 Compare May 3, 2017 13:09
Copy link
Contributor

@youknowriad youknowriad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@@ -12,6 +12,10 @@ window._wpGutenbergPost = {
'<p>I imagine prior to the launch of the iPod, or the iPhone, there were teams saying the same thing: the copy + paste guys are <em>so close</em> 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 <strong>if you\'re not embarrassed when you ship your first version you waited too long</strong>.</p>',
'<!-- /wp:core/text -->',

'<!-- wp:core/separator -->',
'<hr />',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we add the classname here too?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I should just remove it from the save function waiting until we figure out theme integration properly.

@mtias mtias force-pushed the add/block-separator branch from c927ec8 to 051367e Compare May 3, 2017 13:12
@mtias mtias merged commit 519c765 into master May 3, 2017
@mtias mtias deleted the add/block-separator branch May 3, 2017 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Blocks Overall functionality of blocks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants