Browse Source

Small doc fix.

Szymon Kupś 8 years ago
parent
commit
a32bf6f633
1 changed files with 6 additions and 0 deletions
  1. 6 0
      packages/ckeditor5-image/src/imagecaption/imagecaptionengine.js

+ 6 - 0
packages/ckeditor5-image/src/imagecaption/imagecaptionengine.js

@@ -152,6 +152,12 @@ export default class ImageCaptionEngine extends Plugin {
 		}
 	}
 
+	/**
+	 * Updates view before each rendering, making sure that not needed empty captions are removed and focused ones are
+	 * visible when needed.
+	 *
+	 * @private
+	 */
 	_updateView() {
 		const selection = this.editor.editing.view.selection;