8
0

bold.js 755 B

123456789101112131415161718192021222324252627282930313233343536
  1. /**
  2. * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md.
  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. * It loads the {@link module:basic-styles/bold/boldediting~BoldEditing bold editing feature}
  15. * and {@link module:basic-styles/bold/boldui~BoldUI bold UI feature}.
  16. *
  17. * @extends module:core/plugin~Plugin
  18. */
  19. export default class Bold extends Plugin {
  20. /**
  21. * @inheritDoc
  22. */
  23. static get requires() {
  24. return [ BoldEditing, BoldUI ];
  25. }
  26. /**
  27. * @inheritDoc
  28. */
  29. static get pluginName() {
  30. return 'Bold';
  31. }
  32. }