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