Procházet zdrojové kódy

Docs: Removed a misleading use of non existing function. See ckeditor/ckeditor5#1228.

Piotrek Koszuliński před 7 roky
rodič
revize
212f15d58c

+ 2 - 2
packages/ckeditor5-engine/src/conversion/conversion.js

@@ -43,9 +43,9 @@ import {
  *		editor.conversion.for( 'downcast' ).add( downcastElementToElement( config ) );
  *		editor.conversion.for( 'downcast' ).add( downcastElementToElement( config ) );
  *
  *
  *		// Add a converter to the data pipepline only:
  *		// Add a converter to the data pipepline only:
- *		editor.conversion.for( 'dataDowncast' ).add( downcastElementToElement( config ) );
+ *		editor.conversion.for( 'dataDowncast' ).add( downcastElementToElement( dataConversionConfig ) );
  *		// And a slightly different one for the editing pipeline:
  *		// And a slightly different one for the editing pipeline:
- *		editor.conversion.for( 'editingDowncast' ).add( downcastElementToWidget( config ) );
+ *		editor.conversion.for( 'editingDowncast' ).add( downcastElementToElement( editingConversionConfig ) );
  *
  *
  * The functions used in `add()` calls are one-way converters (i.e. you need to remember yourself to add
  * The functions used in `add()` calls are one-way converters (i.e. you need to remember yourself to add
  * a converter in the other direction, if your feature requires that). They are also called "conversion helpers".
  * a converter in the other direction, if your feature requires that). They are also called "conversion helpers".