8
0

imagecaption.js 634 B

12345678910111213141516171819202122232425262728293031323334
  1. /**
  2. * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md.
  4. */
  5. /**
  6. * @module image/imagecaption
  7. */
  8. import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
  9. import ImageCaptionEngine from './imagecaption/imagecaptionengine';
  10. import '../theme/imagecaption.css';
  11. /**
  12. * The image caption plugin.
  13. *
  14. * @extends module:core/plugin~Plugin
  15. */
  16. export default class ImageCaption extends Plugin {
  17. /**
  18. * @inheritDoc
  19. */
  20. static get requires() {
  21. return [ ImageCaptionEngine ];
  22. }
  23. /**
  24. * @inheritDoc
  25. */
  26. static get pluginName() {
  27. return 'ImageCaption';
  28. }
  29. }