Skip to content

Commit

Permalink
Remove extra styling around "Post content" placeholder. (#35243)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen committed Oct 1, 2021
1 parent 456eabc commit d079ba2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 15 deletions.
1 change: 0 additions & 1 deletion packages/block-library/src/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
@import "./nextpage/editor.scss";
@import "./page-list/editor.scss";
@import "./paragraph/editor.scss";
@import "./post-content/editor.scss";
@import "./post-excerpt/editor.scss";
@import "./post-author/editor.scss";
@import "./pullquote/editor.scss";
Expand Down
4 changes: 1 addition & 3 deletions packages/block-library/src/post-content/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,7 @@ function Placeholder() {
const blockProps = useBlockProps();
return (
<div { ...blockProps }>
<div className="wp-block-post-content__placeholder">
<span>{ __( 'This is a placeholder for post content.' ) }</span>
</div>
<p>{ __( 'This is a placeholder for post content.' ) }</p>
</div>
);
}
Expand Down
11 changes: 0 additions & 11 deletions packages/block-library/src/post-content/editor.scss

This file was deleted.

0 comments on commit d079ba2

Please sign in to comment.