fontsizecommand.js 560 B

1234567891011121314151617181920212223242526
  1. /**
  2. * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md.
  4. */
  5. /**
  6. * @module font/fontsizecommand
  7. */
  8. import FontCommand from '../fontcommand';
  9. /**
  10. * The font size command. It is used by the {@link module:font/fontsize/fontsizeediting~FontSizeEditing}
  11. * to apply font size.
  12. *
  13. * @extends module:core/command~Command
  14. */
  15. export default class FontSizeCommand extends FontCommand {
  16. /**
  17. * TODO: docs me
  18. * @param editor
  19. */
  20. constructor( editor ) {
  21. super( editor, 'fontSize' );
  22. }
  23. }