text: /**
   * @license Copyright (c) 2003-2022, CKSource - Frederico Knabben. All rights reserved.
   * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
   */
  
  /**
   * @module image/imagetextalternative/imagetextalternativeediting
   */
  
  import { Plugin } from 'ckeditor5/src/core';
  import ImageTextAlternativeCommand from './imagetextalternativecommand';
  import ImageUtils from '../imageutils';
  
  /**
   * The image text alternative editing plugin.
   *
   * Registers the `'imageTextAlternative'` command.
   *
   * @extends module:core/plugin~Plugin
   */
  export default class ImageTextAlternativeEditing extends Plugin {
  	/**
  	 * @inheritDoc
  	 */
  	static get requires() {
  		return [ ImageUtils ];
  	}
  
  	/**
  	 * @inheritDoc
  	 */
  	static get pluginName() {
  		return 'ImageTextAlternativeEditing';
  	}
  
  	/**
  	 * @inheritDoc
  	 */
  	init() {
  		this.editor.commands.add( 'imageTextAlternative', new ImageTextAlternativeCommand( this.editor ) );
  	}
  }
  