mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-20 22:21:20 +02:00
disable grammarly, closes #733
This commit is contained in:
@@ -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}
|
||||
|
Reference in New Issue
Block a user