htmlembed.js 819 B

12345678910111213141516171819202122232425262728293031323334353637
  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 html-embed/htmlembed
  7. */
  8. import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
  9. import HTMLEmbedEditing from './htmlembedediting';
  10. import HTMLEmbedUI from './htmlembedui';
  11. /**
  12. * The HTML embed feature.
  13. *
  14. * @TODO: What does it allow doing?
  15. *
  16. * For a detailed overview, check the {@glink features/html-embed HTML embed feature} documentation.
  17. *
  18. * @extends module:core/plugin~Plugin
  19. */
  20. export default class HTMLEmbed extends Plugin {
  21. /**
  22. * @inheritDoc
  23. */
  24. static get requires() {
  25. return [ HTMLEmbedEditing, HTMLEmbedUI ];
  26. }
  27. /**
  28. * @inheritDoc
  29. */
  30. static get pluginName() {
  31. return 'HTMLEmbed';
  32. }
  33. }