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

Polish placeholders, inserter, responsiveness #1439

Merged
merged 6 commits into from
Jun 27, 2017

Conversation

jasmussen
Copy link
Contributor

This PR does a number of things. It normalizes the color of the "new post" placeholders and inserter:

screen shot 2017-06-26 at 13 16 25

Tweak the alignment of the inserter a little.

Frees up further space on mobile for more toolbar space.

Hides the movers and config buttons on mobile. This is pending further improvement in #705, where I need to first investigate the potential accessibility implications.

@jasmussen jasmussen self-assigned this Jun 26, 2017
@@ -210,7 +210,7 @@ class VisualEditorBlockList extends Component {
type="text"
readOnly
className="editor-visual-editor__placeholder"
value={ ! blocks.length ? __( 'Write your story.' ) : __( 'Write…' ) }
value={ ! blocks.length ? __( 'Write your story' ) : __( 'Write…' ) }
Copy link
Member

Choose a reason for hiding this comment

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

I added the punctuation before :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmmm you prefer with the period? For me that seems so finite especially when you're just about to blog.

Copy link
Member

@mtias mtias Jun 26, 2017

Choose a reason for hiding this comment

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

It feels weird to see sentences in the content without punctuation, but I'm willing to concede.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'd be okay with an ellipsis instead of a period. But it's just double ellipsi then...

Copy link
Member

Choose a reason for hiding this comment

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

Let's go with your intuition.

This normalizes the color with placeholder text, and polishes the alignment a little.
Hide movers and config toolbars on the side.

These will be resurfaced as part of a separate effort in #705.
@jasmussen jasmussen force-pushed the polish/placeholders-inserter-other branch from 82880ad to 13e2178 Compare June 27, 2017 07:44
@jasmussen jasmussen merged commit a536bfe into master Jun 27, 2017
@jasmussen jasmussen deleted the polish/placeholders-inserter-other branch June 27, 2017 07:55
youknowriad pushed a commit that referenced this pull request Jan 17, 2020
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.

2 participants