8
0
Pārlūkot izejas kodu

Fixing after changes introduced in t/ckeditor5-engine/1236

Szymon Cofalik 8 gadi atpakaļ
vecāks
revīzija
1782c01944

+ 2 - 2
packages/ckeditor5-editor-balloon/tests/ballooneditor.js

@@ -261,8 +261,8 @@ describe( 'BalloonEditor', () => {
 					editor.conversion.for( 'toData' ).add( downcastElementToElement( { model: 'heading', view: 'heading' } ) );
 					editor.conversion.for( 'toData' ).add( downcastElementToElement( { model: 'heading', view: 'heading' } ) );
 					editor.conversion.for( 'upcast' ).add( upcastElementToElement( { model: 'heading', view: 'heading' } ) );
 					editor.conversion.for( 'upcast' ).add( upcastElementToElement( { model: 'heading', view: 'heading' } ) );
 					editor.conversion.for( 'toEditing' ).add( downcastElementToElement( {
 					editor.conversion.for( 'toEditing' ).add( downcastElementToElement( {
-						model: 'heading-editing-representation',
-						view: 'heading'
+						model: 'heading',
+						view: 'heading-editing-representation'
 					} ) );
 					} ) );
 				} );
 				} );
 		} );
 		} );