8
0

linkimageui.js 744 B

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 link/linkimageui
  7. */
  8. import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
  9. import Image from '@ckeditor/ckeditor5-image/src/image';
  10. import LinkUI from './linkui';
  11. import LinkEditing from './linkediting';
  12. /**
  13. * The link image UI plugin.
  14. *
  15. * TODO: Docs.
  16. *
  17. * @extends module:core/plugin~Plugin
  18. */
  19. export default class LinkImageUI extends Plugin {
  20. /**
  21. * @inheritDoc
  22. */
  23. static get requires() {
  24. return [ Image, LinkEditing, LinkUI ];
  25. }
  26. /**
  27. * @inheritDoc
  28. */
  29. static get pluginName() {
  30. return 'LinkImageUI';
  31. }
  32. init() {
  33. }
  34. }