restrictedediting.js 742 B

123456789101112131415161718192021222324252627282930
  1. /**
  2. * @license Copyright (c) 2003-2019, 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/restrictedediting
  7. */
  8. import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
  9. import RestrictedEditingEditing from './restrictededitingediting';
  10. import RestrictedEditingUI from './restrictededitingui';
  11. import '../theme/restrictedediting.css';
  12. /**
  13. * @extends module:core/plugin~Plugin
  14. */
  15. export default class RestrictedEditing extends Plugin {
  16. /**
  17. * @inheritDoc
  18. */
  19. static get pluginName() {
  20. return 'RestrictedEditing';
  21. }
  22. static get requires() {
  23. return [ RestrictedEditingEditing, RestrictedEditingUI ];
  24. }
  25. }