Browse Source

Fix manual test.

Maciej 5 years ago
parent
commit
73c2fb8e7a
1 changed files with 4 additions and 5 deletions
  1. 4 5
      packages/ckeditor5-engine/tests/manual/slotconversion.js

+ 4 - 5
packages/ckeditor5-engine/tests/manual/slotconversion.js

@@ -202,11 +202,10 @@ function Box( editor ) {
 	editor.conversion.for( 'downcast' ).elementToElement( {
 		model: 'box',
 		view: downcastBox,
-		triggerBy: [
-			'attribute:meta:box',
-			'insert:boxField',
-			'remove:boxField'
-		]
+		triggerBy: {
+			attributes: [ 'meta' ],
+			children: [ 'boxField' ]
+		}
 	} );
 
 	addBoxMetaButton( editor, 'boxTitle', 'Box title', () => ( {