diff --git a/packages/slate-react/src/components/void.js b/packages/slate-react/src/components/void.js index 867681297..081fdda05 100644 --- a/packages/slate-react/src/components/void.js +++ b/packages/slate-react/src/components/void.js @@ -79,7 +79,11 @@ class Void extends React.Component { this.debug('render', { props }) return ( - + {readOnly ? null : spacer} {content} 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 5e6f0c8b4..6a9e568f8 100644 --- a/packages/slate-react/test/rendering/fixtures/custom-inline-void.js +++ b/packages/slate-react/test/rendering/fixtures/custom-inline-void.js @@ -36,7 +36,7 @@ export const output = ` - +