Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Merge e48bd3b into 9b0f43f
Browse files Browse the repository at this point in the history
  • Loading branch information
phaux committed Dec 20, 2019
2 parents 9b0f43f + e48bd3b commit c3c0204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pagebreakcommand.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default class PageBreakCommand extends Command {
if ( !canSetSelection && model.schema.checkChild( pageBreakElement.parent, 'paragraph' ) ) {
nextElement = writer.createElement( 'paragraph' );

writer.insert( nextElement, writer.createPositionAfter( pageBreakElement ) );
model.insertContent( nextElement, writer.createPositionAfter( pageBreakElement ) );
}

// Put the selection inside the element, at the beginning.
Expand Down

0 comments on commit c3c0204

Please sign in to comment.