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