Skip to content

Commit

Permalink
Fix bad rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Oct 4, 2019
1 parent 71bf361 commit eb668d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/rich-text/src/component/editable.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ class Editable extends Component {

if ( this.props.contentEditable !== nextProps.contentEditable ) {
if ( nextProps.contentEditable ) {
this.editorNode.setAttribute( 'contenteditable', 'true' );
element.setAttribute( 'contenteditable', 'true' );
} else {
this.editorNode.removeAttribute( 'contenteditable' );
element.removeAttribute( 'contenteditable' );
}
}

Expand Down
3 changes: 0 additions & 3 deletions packages/rich-text/src/component/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -951,11 +951,8 @@ class RichText extends Component {
style,
className,
placeholder,
<<<<<<< HEAD
forwardedRef,
=======
__unstableContentEditable,
>>>>>>> Native Multi Block Selection
} = this.props;
// Generating a key that includes `tagName` ensures that if the tag
// changes, we replace the relevant element. This is needed because we
Expand Down

0 comments on commit eb668d3

Please sign in to comment.