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

Align feature class naming to a new scheme. #31

Merged
merged 2 commits into from
Feb 27, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions tests/paragraph-intergration.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

import Paragraph from '../src/paragraph';
import Clipboard from '@ckeditor/ckeditor5-clipboard/src/clipboard';
import UndoEngine from '@ckeditor/ckeditor5-undo/src/undoengine';
import HeadingEngine from '@ckeditor/ckeditor5-heading/src/headingengine';
import UndoEditing from '@ckeditor/ckeditor5-undo/src/undoediting';
import HeadingEditing from '@ckeditor/ckeditor5-heading/src/headingediting';
import VirtualTestEditor from '@ckeditor/ckeditor5-core/tests/_utils/virtualtesteditor';
import {
getData as getModelData,
Expand Down Expand Up @@ -38,7 +38,7 @@ describe( 'Paragraph feature – integration', () => {
// Explainer: the heading feature is configured to handle h2-h4 elements, so h1 has no handler.
it( 'pastes h1+h2+p as p+h2+p when heading feature is present', () => {
return VirtualTestEditor
.create( { plugins: [ Paragraph, Clipboard, HeadingEngine ] } )
.create( { plugins: [ Paragraph, Clipboard, HeadingEditing ] } )
.then( newEditor => {
const editor = newEditor;
const clipboard = editor.plugins.get( 'Clipboard' );
Expand Down Expand Up @@ -76,7 +76,7 @@ describe( 'Paragraph feature – integration', () => {
// handle the li element.
it( 'pastes ul>li>h2+h3+p as h2+h3+p when heading feature is present', () => {
return VirtualTestEditor
.create( { plugins: [ Paragraph, Clipboard, HeadingEngine ] } )
.create( { plugins: [ Paragraph, Clipboard, HeadingEditing ] } )
.then( newEditor => {
const editor = newEditor;
const clipboard = editor.plugins.get( 'Clipboard' );
Expand Down Expand Up @@ -142,7 +142,7 @@ describe( 'Paragraph feature – integration', () => {
describe( 'with undo', () => {
it( 'fixing empty roots should be transparent to undo', () => {
return VirtualTestEditor
.create( { plugins: [ Paragraph, UndoEngine ] } )
.create( { plugins: [ Paragraph, UndoEditing ] } )
.then( newEditor => {
const editor = newEditor;
const doc = editor.model.document;
Expand Down Expand Up @@ -175,7 +175,7 @@ describe( 'Paragraph feature – integration', () => {

it( 'fixing empty roots should be transparent to undo - multiple roots', () => {
return VirtualTestEditor
.create( { plugins: [ Paragraph, UndoEngine ] } )
.create( { plugins: [ Paragraph, UndoEditing ] } )
.then( newEditor => {
const editor = newEditor;
const doc = editor.model.document;
Expand Down