Skip to content

Conversation

@mtias
Copy link
Member

@mtias mtias commented Jun 23, 2017

image

Closes #1386.

@mtias mtias added [Feature] Blocks Overall functionality of blocks [Type] Task Issues or PRs that have been broken down into an individual action to take labels Jun 23, 2017
<div>
{ focus &&
<BlockControls key="controls">
<ul className="components-toolbar">
Copy link
Contributor

Choose a reason for hiding this comment

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

Can't we use the regular Toolbar component for this? I guess we just need to make the icon optional and drop the fixed width?

Copy link
Member Author

Choose a reason for hiding this comment

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

It forces icon at the moment. And we'll probably just create a segmented-control out of this in any case.

Copy link
Contributor

@youknowriad youknowriad Jun 23, 2017

Choose a reason for hiding this comment

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

as part of #1256 I updated the Toolbar component to allow this. Edit: I updated the styling only. but seems easy to drop the icon requirement

Copy link
Contributor

Choose a reason for hiding this comment

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

Could be done separately of course

@jasmussen
Copy link
Contributor

Designed new icon for the block here: WordPress/dashicons#207

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.

Works great, feel free to merge when the tests are fixed

@ellatrix
Copy link
Member

Awesome!

@mtias mtias merged commit e8a09d7 into master Jun 23, 2017
@ellatrix ellatrix deleted the add/html-block branch July 2, 2017 08:34
@afercia afercia added the [Feature] Widgets Screen The block-based screen that replaced widgets.php. label Jan 30, 2019
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 [Feature] Widgets Screen The block-based screen that replaced widgets.php. [Type] Task Issues or PRs that have been broken down into an individual action to take

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants