Selaa lähdekoodia

Docs: Update private method comments.

Maciej Gołaszewski 7 vuotta sitten
vanhempi
commit
6b0e66eabb

+ 2 - 2
packages/ckeditor5-image/src/imageupload/imageuploadcommand.js

@@ -84,8 +84,8 @@ function isImageAllowedInParent( selection, schema ) {
 }
 
 // Additional check for when the command should be disabled:
-// - selection is on image
-// - selection is inside image (image caption)
+// - selection is on object
+// - selection is inside object
 function checkSelectionWithObject( selection, schema ) {
 	const selectedElement = selection.getSelectedElement();