Procházet zdrojové kódy

Docs: proper converter priority usage. [skip ci]

Krzysztof Krztoń před 7 roky
rodič
revize
187498b173

+ 3 - 2
packages/ckeditor5-engine/src/conversion/downcast-converters.js

@@ -717,8 +717,9 @@ export function changeAttribute( attributeCreator ) {
 			 *			},
 			 *			view: ( value, writer ) => {
 			 *				return writer.createAttributeElement( 'span', { 'attribute-name': value } );
-			 *			}
-			 *		} ), { priority: 'high' } );
+			 *			},
+			 *			converterPriority: 'high'
+			 *		} ) );
 			 *
 			 * @error conversion-attribute-to-attribute-on-text
 			 */