removeformat.js 1013 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 remove-format/removeformat
  7. */
  8. import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
  9. import RemoveFormatUI from './removeformatui';
  10. import RemoveFormatEditing from './removeformatediting';
  11. /**
  12. * The remove format plugin.
  13. *
  14. * This is a "glue" plugin which loads the {@link module:remove-format/removeformatediting~RemoveFormatEditing}
  15. * and {@link module:remove-format/removeformatui~RemoveFormatUI} plugins.
  16. *
  17. * For a detailed overview, check out the {@glink features/remove-format remove format} feature documentation.
  18. *
  19. * @extends module:core/plugin~Plugin
  20. */
  21. export default class RemoveFormat extends Plugin {
  22. /**
  23. * @inheritDoc
  24. */
  25. static get requires() {
  26. return [ RemoveFormatEditing, RemoveFormatUI ];
  27. }
  28. /**
  29. * @inheritDoc
  30. */
  31. static get pluginName() {
  32. return 'RemoveFormat';
  33. }
  34. }