8
0

bold.js 989 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 basic-styles/bold
  7. */
  8. import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
  9. import BoldEditing from './bold/boldediting';
  10. import BoldUI from './bold/boldui';
  11. /**
  12. * The bold feature.
  13. *
  14. * For a detailed overview check the {@glink features/basic-styles Basic styles feature documentation}
  15. * and the {@glink api/basic-styles package page}.
  16. *
  17. * This is a "glue" plugin which loads the {@link module:basic-styles/bold/boldediting~BoldEditing bold editing feature}
  18. * and {@link module:basic-styles/bold/boldui~BoldUI bold UI feature}.
  19. *
  20. * @extends module:core/plugin~Plugin
  21. */
  22. export default class Bold extends Plugin {
  23. /**
  24. * @inheritDoc
  25. */
  26. static get requires() {
  27. return [ BoldEditing, BoldUI ];
  28. }
  29. /**
  30. * @inheritDoc
  31. */
  32. static get pluginName() {
  33. return 'Bold';
  34. }
  35. }