Преглед на файлове

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

Co-authored-by: Maciej <jodator@jodator.net>
Paweł Kwaśnik преди 5 години
родител
ревизия
76c5014901
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      packages/ckeditor5-image/src/autoimage.js

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

@@ -158,7 +158,7 @@ export default class AutoImage extends Plugin {
 				let insertionPosition;
 
 				// Check if position where the element should be inserted is still valid.
-				// Otherwise leave it as undefined to use document.selection - default behavior of model.insertContent().
+				// Otherwise leave it as undefined to use the logic of insertImage().
 				if ( this._positionToInsert.root.rootName !== '$graveyard' ) {
 					insertionPosition = this._positionToInsert;
 				}