font.js 585 B

1234567891011121314151617181920212223242526272829303132333435
  1. /**
  2. * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md.
  4. */
  5. /**
  6. * @module font/font
  7. */
  8. import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
  9. import FontSize from './fontsize';
  10. /**
  11. * The Font plugin.
  12. *
  13. * It requires {@link module:font/fontsize~FontSize} plugin.
  14. *
  15. * @extends module:core/plugin~Plugin
  16. */
  17. export default class Font extends Plugin {
  18. /**
  19. * @inheritDoc
  20. */
  21. static get requires() {
  22. return [ FontSize ];
  23. }
  24. /**
  25. * @inheritDoc
  26. */
  27. static get pluginName() {
  28. return 'Font';
  29. }
  30. }