imagetextalternative.js 994 B

123456789101112131415161718192021222324252627282930313233343536
  1. /**
  2. * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md.
  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. * It loads the {@link module:image/imagetextalternative/imagetextalternativeediting~ImageTextAlternativeEditing}
  15. * and {@link module:image/imagetextalternative/imagetextalternativeui~ImageTextAlternativeUI} plugins.
  16. *
  17. * @extends module:core/plugin~Plugin
  18. */
  19. export default class ImageTextAlternative extends Plugin {
  20. /**
  21. * @inheritDoc
  22. */
  23. static get requires() {
  24. return [ ImageTextAlternativeEditing, ImageTextAlternativeUI ];
  25. }
  26. /**
  27. * @inheritDoc
  28. */
  29. static get pluginName() {
  30. return 'ImageTextAlternative';
  31. }
  32. }