diff --git a/lib/components/content.js b/lib/components/content.js index 353a0ab12..ebf2219f4 100644 --- a/lib/components/content.js +++ b/lib/components/content.js @@ -401,9 +401,15 @@ class Content extends React.Component { const style = { ...this.props.style, - outline: 'none', // prevent the default outline styles - whiteSpace: 'pre-wrap', // preserve adjacent whitespace and new lines - wordWrap: 'break-word' // allow words to break if they are too long + // COMPAT: Prevent iOS from showing the BIU formatting menu, which causes + // the internal state to get out of sync in weird ways. + WebkitUserModify: 'read-write-plaintext-only', + // Prevent the default outline styles. + outline: 'none', + // Preserve adjacent whitespace and new lines. + whiteSpace: 'pre-wrap', + // Allow words to break if they are too long. + wordWrap: 'break-word' } return (