Explorar o código

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

Co-authored-by: Maciej <jodator@jodator.net>
Paweł Kwaśnik %!s(int64=5) %!d(string=hai) anos
pai
achega
76c5014901
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
 				}