8
0
Эх сурвалжийг харах

Add docs to hasValidSelection.

Maciej Gołaszewski 6 жил өмнө
parent
commit
b60a8d3ff4

+ 4 - 2
packages/ckeditor5-table/src/tableselection.js

@@ -32,8 +32,10 @@ export default class TableSelection extends Plugin {
 	}
 
 	/**
-	 * a
-	 * @returns {Boolean}
+	 * Flag indicating that table selection is selecting valid ranges in table cell.
+	 *
+	 * @readonly
+	 * @member {Boolean} #hasValidSelection
 	 */
 	get hasValidSelection() {
 		return this._isSelecting && this._startElement && this._endElement && this._startElement != this._endElement;