Explorar el Código

Docs: Added a missing variable in the code snippet. Closes #1590.

Kamil Piechaczek hace 7 años
padre
commit
26e979c1ed
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      packages/ckeditor5-engine/src/conversion/modelconsumable.js

+ 1 - 0
packages/ckeditor5-engine/src/conversion/modelconsumable.js

@@ -61,6 +61,7 @@ import TextProxy from '../model/textproxy';
  *			// Maybe it will be "decorated" later.
  *			const viewImage = new ViewElement( 'img' );
  *			const insertPosition = conversionApi.mapper.toViewPosition( data.range.start );
+ *			const viewWriter = conversionApi.writer;
  *
  *			// Check if the `image` element has children.
  *			if ( data.item.childCount > 0 ) {