Skip to content

Commit

Permalink
Wrap pre text
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed May 18, 2017
1 parent 37dca6d commit 0cb5489
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions blocks/library/preformatted/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/**
* Internal dependencies
*/
import './style.scss';
import { registerBlock, createBlock, query } from '../../api';
import Editable from '../../editable';

Expand Down
5 changes: 5 additions & 0 deletions blocks/library/preformatted/style.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
div[data-type="core/preformatted"] {
pre {
white-space: pre-wrap;
}
}

0 comments on commit 0cb5489

Please sign in to comment.