Przeglądaj źródła

Docs: Update private methods params documentation in AlignmentCommand class.

Maciej Gołaszewski 8 lat temu
rodzic
commit
d4418f7ce1

+ 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 ) {