Răsfoiți Sursa

Docs: Update private methods params documentation in AlignmentCommand class.

Maciej Gołaszewski 8 ani în urmă
părinte
comite
d4418f7ce1
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      packages/ckeditor5-alignment/src/alignmentcommand.js

+ 2 - 0
packages/ckeditor5-alignment/src/alignmentcommand.js

@@ -95,6 +95,7 @@ export default class AlignmentCommand extends Command {
 	 * Checks whether the command can be enabled in the current context.
 	 *
 	 * @private
+	 * @param {module:engine/model/element~Element} firstBlock A first block in selection to be checked.
 	 * @returns {Boolean} Whether the command should be enabled.
 	 */
 	_checkEnabled( firstBlock ) {
@@ -116,6 +117,7 @@ export default class AlignmentCommand extends Command {
 	 * Checks the command's {@link #value}.
 	 *
 	 * @private
+	 * @param {module:engine/model/element~Element} firstBlock A first block in selection to be checked.
 	 * @returns {Boolean} The current value.
 	 */
 	_getValue( firstBlock ) {