|
|
@@ -110,7 +110,7 @@ describe( 'LinkEngine', () => {
|
|
|
it( 'should should set priority for `linkHref` higher than all other attribute elements', () => {
|
|
|
model.schema.extend( '$text', { allowAttributes: 'foo' } );
|
|
|
|
|
|
- editor.conversion.for( 'downcast' ).add( downcastAttributeToElement( { model: 'foo', view: 'f' } ) );
|
|
|
+ editor.conversion.for( 'downcast' ).add( downcastAttributeToElement( 'foo', { view: 'f' } ) );
|
|
|
|
|
|
setModelData( model,
|
|
|
'<paragraph>' +
|