feature.js 743 B

12345678910111213141516171819202122
  1. /**
  2. * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md.
  4. */
  5. 'use strict';
  6. import Plugin from './plugin.js';
  7. /**
  8. * The base class for CKEditor feature classes. Features are main way to enhance CKEditor abilities with tools,
  9. * utilities, services and components.
  10. *
  11. * The main responsibilities for Feature are:
  12. * * setting required dependencies (see {@link core.Plugin#requires},
  13. * * configuring, instantiating and registering commands to editor,
  14. * * registering converters to editor (if the feature operates on Tree Model),
  15. * * setting and registering UI components (if the feature uses it).
  16. *
  17. * @memberOf core
  18. */
  19. export default class Feature extends Plugin {}