瀏覽代碼

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