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

Commit

Permalink
Merge branch 'master' into t/ckeditor5/488
Browse files Browse the repository at this point in the history
  • Loading branch information
scofalik committed Feb 22, 2018
2 parents c3c6a83 + 9f0ec01 commit aee40f8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/paragraph.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import ParagraphCommand from './paragraphcommand';

import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
import { elementToElement } from '@ckeditor/ckeditor5-engine/src/conversion/two-way-converters';
import { SchemaContext } from '@ckeditor/ckeditor5-engine/src/model/schema';
import Position from '@ckeditor/ckeditor5-engine/src/model/position';
import Range from '@ckeditor/ckeditor5-engine/src/model/range';
Expand Down Expand Up @@ -42,7 +41,7 @@ export default class Paragraph extends Plugin {
// Schema.
model.schema.register( 'paragraph', { inheritAllFrom: '$block' } );

elementToElement( editor.conversion, { model: 'paragraph', view: 'p' } );
editor.conversion.elementToElement( { model: 'paragraph', view: 'p' } );

// Content autoparagraphing. --------------------------------------------------

Expand Down

0 comments on commit aee40f8

Please sign in to comment.