selectall.js 971 B

1234567891011121314151617181920212223242526272829303132333435363738
  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 select-all/selectall
  7. */
  8. import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
  9. import SelectAllEditing from './selectallediting';
  10. import SelectAllUI from './selectallui';
  11. /**
  12. * The select all feature.
  13. *
  14. * This is a "glue" plugin which loads the {@link module:select-all/selectallediting~SelectAllEditing select all editing feature}
  15. * and the {@link module:select-all/selectallui~SelectAllUI select all UI feature}.
  16. *
  17. * Please refer to the documentation of individual features to learn more.
  18. *
  19. * @extends module:core/plugin~Plugin
  20. */
  21. export default class SelectAll extends Plugin {
  22. /**
  23. * @inheritDoc
  24. */
  25. static get requires() {
  26. return [ SelectAllEditing, SelectAllUI ];
  27. }
  28. /**
  29. * @inheritDoc
  30. */
  31. static get pluginName() {
  32. return 'SelectAll';
  33. }
  34. }