Skip to content

fix: missing default value for grid block content objects#1186

Merged
yangshun merged 1 commit intofacebook:masterfrom
marvinchin:fix-image-align-default
Jan 16, 2019
Merged

fix: missing default value for grid block content objects#1186
yangshun merged 1 commit intofacebook:masterfrom
marvinchin:fix-image-align-default

Conversation

@marvinchin
Copy link
Contributor

Motivation

Fix #1184. The default value for the alignImage key was not applied.

Have you read the Contributing Guidelines on pull requests?

Yes.

Test Plan

The screenshots below show the content of a GridBlock content component with the alignImage key omitted before/after the fix.

Before (image missing):

screenshot 2019-01-16 at 4 24 42 pm

After (image in left position):

screenshot 2019-01-16 at 4 22 45 pm

@facebook-github-bot
Copy link
Contributor

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need the corporate CLA signed.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

Copy link
Contributor

@yangshun yangshun left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks @marvinchin!

@docusaurus-bot
Copy link
Contributor

Deploy preview for docusaurus-preview ready!

Built with commit 4495f0c

https://deploy-preview-1186--docusaurus-preview.netlify.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Default value of imageAlign is not used in renderBlock

4 participants