Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
fix contentEditable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
linkkingjay committed Feb 27, 2016
1 parent 555fe1f commit af16c92
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 @@ -262,6 +262,7 @@ class DraftEditor
ref="editor"
role={readOnly ? null : (this.props.role || 'textbox')}
spellCheck={allowSpellCheck && this.props.spellCheck}
suppressContentEditableWarning={true}
tabIndex={this.props.tabIndex}
title={hasContent ? null : this.props.placeholder}>
<DraftEditorContents
Expand Down

0 comments on commit af16c92

Please sign in to comment.