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

Commit

Permalink
Merge branch t/new-ot
Browse files Browse the repository at this point in the history
Internal: Adjust code and docs to the new OT, remove deltas.
  • Loading branch information
Piotr Jasiun committed Jul 25, 2018
2 parents 84523b5 + fd065ba commit b1860d5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/blockquotecommand.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,8 @@ export default class BlockQuoteCommand extends Command {
let quote = findQuote( groupRange.start );

if ( !quote ) {
quote = new Element( 'blockQuote' );

writer.wrap( groupRange, quote );
writer.wrap( groupRange, new Element( 'blockQuote' ) );
quote = groupRange.start.nodeAfter;
}

quotesToMerge.push( quote );
Expand Down

0 comments on commit b1860d5

Please sign in to comment.