Skip to content

Commit

Permalink
Fix split and merge
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Apr 12, 2018
1 parent 6ab8eea commit ec7f609
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions blocks/rich-text/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -789,6 +789,7 @@ export class RichText extends Component {
*/
restoreContentAndSplit( before, after, blocks = [] ) {
this.setContent( before );
this.onChange();
this.props.onSplit( before, after, ...blocks );
}

Expand Down

0 comments on commit ec7f609

Please sign in to comment.