From a98b687aa538138be427f419ac5489cdbf72d51c Mon Sep 17 00:00:00 2001 From: Ian Storm Taylor Date: Mon, 24 Apr 2017 12:51:54 -0700 Subject: [PATCH] disable grammarly, closes #733 --- src/components/content.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/content.js b/src/components/content.js index bcd6653130..ba9101205d 100644 --- a/src/components/content.js +++ b/src/components/content.js @@ -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}