Explorar el Código

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

Szymon Cofalik hace 7 años
padre
commit
327900c530
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      packages/ckeditor5-editor-inline/tests/inlineeditor.js

+ 2 - 2
packages/ckeditor5-editor-inline/tests/inlineeditor.js

@@ -246,9 +246,9 @@ describe( 'InlineEditor', () => {
 					schema.extend( 'heading', { allowIn: '$root' } );
 					schema.extend( '$text', { allowIn: 'heading' } );
 
-					editor.conversion.for( 'toData' ).add( downcastElementToElement( { model: 'heading', view: 'heading' } ) );
 					editor.conversion.for( 'upcast' ).add( upcastElementToElement( { model: 'heading', view: 'heading' } ) );
-					editor.conversion.for( 'toEditing' ).add( downcastElementToElement( {
+					editor.conversion.for( 'dataDowncast' ).add( downcastElementToElement( { model: 'heading', view: 'heading' } ) );
+					editor.conversion.for( 'editingDowncast' ).add( downcastElementToElement( {
 						model: 'heading',
 						view: 'heading-editing-representation'
 					} ) );