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