typing.js 551 B

123456789101112131415161718192021222324252627282930
  1. /**
  2. * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md.
  4. */
  5. /**
  6. * @module typing/typing
  7. */
  8. import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
  9. import Input from './input';
  10. import Delete from './delete';
  11. /**
  12. * The typing feature. Handles typing.
  13. *
  14. * @extends module:core/plugin~Plugin
  15. */
  16. export default class Typing extends Plugin {
  17. static get requires() {
  18. return [ Input, Delete ];
  19. }
  20. /**
  21. * @inheritDoc
  22. */
  23. static get pluginName() {
  24. return 'Typing';
  25. }
  26. }