diff --git a/packages/slate-react/src/components/void.js b/packages/slate-react/src/components/void.js index 808eedc32..a6e10fbcf 100644 --- a/packages/slate-react/src/components/void.js +++ b/packages/slate-react/src/components/void.js @@ -72,10 +72,7 @@ class Void extends React.Component { ) const content = ( - + {children} ) diff --git a/packages/slate-react/test/rendering/fixtures/custom-block-void.js b/packages/slate-react/test/rendering/fixtures/custom-block-void.js index 2b19c2276..29a9fd0f6 100644 --- a/packages/slate-react/test/rendering/fixtures/custom-block-void.js +++ b/packages/slate-react/test/rendering/fixtures/custom-block-void.js @@ -39,7 +39,7 @@ export const output = ` -
+
diff --git a/packages/slate-react/test/rendering/fixtures/custom-inline-void.js b/packages/slate-react/test/rendering/fixtures/custom-inline-void.js index f5aadf645..4e6d54dcc 100644 --- a/packages/slate-react/test/rendering/fixtures/custom-inline-void.js +++ b/packages/slate-react/test/rendering/fixtures/custom-inline-void.js @@ -44,7 +44,7 @@ export const output = ` - +