Skip to content

Commit

Permalink
Suppress contentEditable warning
Browse files Browse the repository at this point in the history
This will come into effect with the 15.0 release of React, see facebook/react#6112

Fixes facebookarchive#53
  • Loading branch information
mxstbr committed Feb 24, 2016
1 parent 86acb9a commit 6edafb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/component/base/DraftEditor.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ class DraftEditor
aria-owns={readOnly ? null : this.props.ariaOwneeID}
className={cx('public/DraftEditor/content')}
contentEditable={!readOnly}
suppressContentEditableWarning={true}
data-testid={this.props.webDriverTestID}
onBeforeInput={this._onBeforeInput}
onBlur={this._onBlur}
Expand Down

0 comments on commit 6edafb4

Please sign in to comment.