diff --git a/packages/slate-react/src/components/content.js b/packages/slate-react/src/components/content.js index 798fd3442..3d657d34b 100644 --- a/packages/slate-react/src/components/content.js +++ b/packages/slate-react/src/components/content.js @@ -443,7 +443,15 @@ class Content extends React.Component { render() { const { props } = this - const { className, readOnly, editor, tabIndex, role, tagName } = props + const { + className, + readOnly, + editor, + tabIndex, + role, + tagName, + spellCheck, + } = props const { value } = editor const Container = tagName const { document, selection } = value @@ -473,11 +481,6 @@ class Content extends React.Component { ...props.style, } - // COMPAT: In Firefox, spellchecking can remove entire wrapping elements - // including inline ones like ``, which is jarring for the user but also - // causes the DOM to get into an irreconcilable value. (2016/09/01) - const spellCheck = IS_FIREFOX ? false : props.spellCheck - debug('render', { props }) return (