8
0
Эх сурвалжийг харах

First batch of changes updating schema use to match the new API.

Piotrek Koszuliński 8 жил өмнө
parent
commit
bb807e78f6

+ 2 - 1
packages/ckeditor5-autoformat/tests/inlineautoformatengine.js

@@ -24,7 +24,8 @@ describe( 'InlineAutoformatEngine', () => {
 				editor = newEditor;
 				model = editor.model;
 				doc = model.document;
-				model.schema.allow( { name: '$inline', attributes: [ 'testAttribute' ] } );
+
+				model.schema.extend( '$text', { allowAttributes: 'testAttribute' } );
 			} );
 	} );