Explorar el Código

Update packages/ckeditor5-image/src/autoimage.js

Co-authored-by: Maciej <jodator@jodator.net>
Paweł Kwaśnik hace 5 años
padre
commit
dfda4f9f8b
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      packages/ckeditor5-image/src/autoimage.js

+ 1 - 0
packages/ckeditor5-image/src/autoimage.js

@@ -142,6 +142,7 @@ export default class AutoImage extends Plugin {
 			// Don't do anything if image element cannot be inserted at the current position (#47).
 			// Condition must be checked after timeout - pasting may take place on an element, replacing it. The final position matters.
 			const imageCommand = editor.commands.get( 'imageInsert' );
+
 			if ( !imageCommand.isEnabled ) {
 				urlRange.detach();