diff --git a/packages/components/xpub-edit/src/components/withStyles.js b/packages/components/xpub-edit/src/components/withStyles.js index 07fd1b1d2a63f5075360d2a701f1263800339440..0a108610f424ce4b56af7bc2affcee8fe61354d6 100644 --- a/packages/components/xpub-edit/src/components/withStyles.js +++ b/packages/components/xpub-edit/src/components/withStyles.js @@ -70,6 +70,7 @@ export const withEditorStyle = Component => styled(Component).attrs({ &:focus .placeholder { display: none; } + white-space: pre-wrap; ${contentStyles};