linkimage.js 870 B

123456789101112131415161718192021222324252627282930313233343536
  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 link/linkimage
  7. */
  8. import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
  9. import LinkImageEditing from './linkimageediting';
  10. import LinkImageUI from './linkimageui';
  11. /**
  12. * The `LinkImage` plugin.
  13. *
  14. * This is a "glue" plugin that loads the {@link module:link/linkimageediting~LinkImageEditing link image editing feature}
  15. * and {@link module:link/linkimageui~LinkImageUI link image UI feature}.
  16. *
  17. * @extends module:core/plugin~Plugin
  18. */
  19. export default class LinkImage extends Plugin {
  20. /**
  21. * @inheritDoc
  22. */
  23. static get requires() {
  24. return [ LinkImageEditing, LinkImageUI ];
  25. }
  26. /**
  27. * @inheritDoc
  28. */
  29. static get pluginName() {
  30. return 'LinkImage';
  31. }
  32. }