소스 검색

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

Co-authored-by: Maciej <jodator@jodator.net>
Paweł Kwaśnik 5 년 전
부모
커밋
dfda4f9f8b
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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();