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

Docs: Update private method comments.

Maciej Gołaszewski преди 7 години
родител
ревизия
6b0e66eabb
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      packages/ckeditor5-image/src/imageupload/imageuploadcommand.js

+ 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();