diff --git a/packages/slate-react-placeholder/src/index.js b/packages/slate-react-placeholder/src/index.js index 8383d0610..983a1abe9 100644 --- a/packages/slate-react-placeholder/src/index.js +++ b/packages/slate-react-placeholder/src/index.js @@ -70,12 +70,12 @@ function SlateReactPlaceholder(options = {}) { } return ( - + {placeholder} {children} - + ) } diff --git a/packages/slate-react/test/rendering/fixtures/placeholder/single-block-with-single-empty-text.js b/packages/slate-react/test/rendering/fixtures/placeholder/single-block-with-single-empty-text.js index 5ca925227..47f1bbfb2 100644 --- a/packages/slate-react/test/rendering/fixtures/placeholder/single-block-with-single-empty-text.js +++ b/packages/slate-react/test/rendering/fixtures/placeholder/single-block-with-single-empty-text.js @@ -21,11 +21,13 @@ export const output = `
- - placeholder text - - -
+ + + placeholder text + + +
+