Skip to content

Commit

Permalink
disable grammarly, closes #733
Browse files Browse the repository at this point in the history
  • Loading branch information
ianstormtaylor committed Apr 24, 2017
1 parent f31220c commit a98b687
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -860,6 +860,10 @@ class Content extends React.Component {
style={style}
role={readOnly ? null : (role || 'textbox')}
tabIndex={tabIndex}
// COMPAT: The Grammarly Chrome extension works by changing the DOM out
// from under `contenteditable` elements, which leads to weird behaviors
// so we have to disable it like this. (2017/04/24)
data-gramm={false}
>
{children}
{this.props.children}
Expand Down

0 comments on commit a98b687

Please sign in to comment.