diff --git a/packages/slate-react/src/components/leaf.js b/packages/slate-react/src/components/leaf.js index 0cb5976b6..d69da00a4 100644 --- a/packages/slate-react/src/components/leaf.js +++ b/packages/slate-react/src/components/leaf.js @@ -133,12 +133,7 @@ class Leaf extends React.Component { // COMPAT: If the text is empty otherwise, it's because it's on the edge of // an inline void node, so we render a zero-width space so that the // selection can be inserted next to it still. - if (text == '') { - // COMPAT: In Chrome, zero-width space produces graphics glitches, so use - // hair space in place of it. (2017/02/12) - const space = IS_FIREFOX ? '\u200B' : '\u200A' - return {space} - } + if (text == '') return {'\u200B'} // COMPAT: Browsers will collapse trailing new lines at the end of blocks, // so we need to add an extra trailing new lines to prevent that.