imagetextalternative.js 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /**
  2. * @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
  4. */
  5. /**
  6. * @module image/imagetextalternative
  7. */
  8. import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
  9. import ImageTextAlternativeEditing from './imagetextalternative/imagetextalternativeediting';
  10. import ImageTextAlternativeUI from './imagetextalternative/imagetextalternativeui';
  11. /**
  12. * The image text alternative plugin.
  13. *
  14. * For a detailed overview, check the {@glink features/image#image-styles image styles} documentation.
  15. *
  16. * This is a "glue" plugin which loads the
  17. * {@link module:image/imagetextalternative/imagetextalternativeediting~ImageTextAlternativeEditing}
  18. * and {@link module:image/imagetextalternative/imagetextalternativeui~ImageTextAlternativeUI} plugins.
  19. *
  20. * @extends module:core/plugin~Plugin
  21. */
  22. export default class ImageTextAlternative extends Plugin {
  23. /**
  24. * @inheritDoc
  25. */
  26. static get requires() {
  27. return [ ImageTextAlternativeEditing, ImageTextAlternativeUI ];
  28. }
  29. /**
  30. * @inheritDoc
  31. */
  32. static get pluginName() {
  33. return 'ImageTextAlternative';
  34. }
  35. }