restricteddocument.js 669 B

1234567891011121314151617181920212223242526272829
  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 core/restricteddocument
  7. */
  8. import Plugin from './plugin';
  9. import RestrictedDocumentEditing from './restricteddocumentediting';
  10. import RestrictedDocumentUI from './restricteddocumentui';
  11. /**
  12. * @extends module:core/plugin~Plugin
  13. */
  14. export default class RestrictedDocument extends Plugin {
  15. /**
  16. * @inheritDoc
  17. */
  18. static get pluginName() {
  19. return 'RestrictedDocument';
  20. }
  21. static get requires() {
  22. return [ RestrictedDocumentEditing, RestrictedDocumentUI ];
  23. }
  24. }