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

Commit

Permalink
Merge pull request #20 from ckeditor/t/ckeditor5-engine/1295
Browse files Browse the repository at this point in the history
Other: Aligning with new conversion helpers API.
  • Loading branch information
Piotr Jasiun committed Feb 19, 2018
2 parents 31b853f + 4bb8dab commit 6535e8f
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/blockquoteengine.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,8 @@
*/

import Plugin from '@ckeditor/ckeditor5-core/src/plugin';

import BlockQuoteCommand from './blockquotecommand';

import { downcastElementToElement } from '@ckeditor/ckeditor5-engine/src/conversion/downcast-converters';
import { upcastElementToElement } from '@ckeditor/ckeditor5-engine/src/conversion/upcast-converters';

/**
* The block quote engine.
*
Expand Down Expand Up @@ -43,10 +39,6 @@ export default class BlockQuoteEngine extends Plugin {
}
} );

editor.conversion.for( 'downcast' )
.add( downcastElementToElement( { model: 'blockQuote', view: 'blockquote' } ) );

editor.conversion.for( 'upcast' )
.add( upcastElementToElement( { model: 'blockQuote', view: 'blockquote' } ) );
editor.conversion.elementToElement( { model: 'blockQuote', view: 'blockquote' } );
}
}

0 comments on commit 6535e8f

Please sign in to comment.