Skip to content

Commit

Permalink
Do not reset the content in onSelectionChange
Browse files Browse the repository at this point in the history
  • Loading branch information
daniloercoli committed Apr 18, 2019
1 parent 7e878b7 commit f4d46a0
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,6 @@ export class RichText extends Component {
// we don't want to refresh aztec as no content can have changed from this event
// let's update lastContent to prevent that in shouldComponentUpdate
this.lastContent = this.removeRootTagsProduceByAztec( unescapeSpaces( text ) );
this.props.onChange( this.lastContent );
}

isEmpty() {
Expand Down

0 comments on commit f4d46a0

Please sign in to comment.