standardeditingmode.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /**
  2. * @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
  4. */
  5. /**
  6. * @module restricted-editing/standardeditingmode
  7. */
  8. import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
  9. import StandardEditingModeEditing from './standardeditingmodeediting';
  10. import StandardEditingModeUI from './standardeditingmodeui';
  11. import '../theme/restrictedediting.css';
  12. /**
  13. * The standard editing mode plugin.
  14. *
  15. * This is a "glue" plugin that loads the following plugins:
  16. *
  17. * * The {@link module:restricted-editing/standardeditingmodeediting~StandardEditingModeEditing standard mode editing feature}.
  18. * * The {@link module:restricted-editing/standardeditingmodeui~StandardEditingModeUI standard mode UI feature}.
  19. *
  20. * @extends module:core/plugin~Plugin
  21. */
  22. export default class StandardEditingMode extends Plugin {
  23. /**
  24. * @inheritDoc
  25. */
  26. static get pluginName() {
  27. return 'StandardEditingMode';
  28. }
  29. static get requires() {
  30. return [ StandardEditingModeEditing, StandardEditingModeUI ];
  31. }
  32. }