瀏覽代碼

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

Szymon Cofalik 7 年之前
父節點
當前提交
327900c530
共有 1 個文件被更改,包括 2 次插入2 次删除
  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'
 					} ) );