8
0

table.js 652 B

1234567891011121314151617181920212223242526272829303132333435
  1. /**
  2. * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md.
  4. */
  5. /**
  6. * @module table/table
  7. */
  8. import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
  9. import TablesEditing from './tableediting';
  10. import TablesUI from './tableui';
  11. import Widget from '@ckeditor/ckeditor5-widget/src/widget';
  12. /**
  13. * The table plugin.
  14. *
  15. * @extends module:core/plugin~Plugin
  16. */
  17. export default class Table extends Plugin {
  18. /**
  19. * @inheritDoc
  20. */
  21. static get requires() {
  22. return [ TablesEditing, TablesUI, Widget ];
  23. }
  24. /**
  25. * @inheritDoc
  26. */
  27. static get pluginName() {
  28. return 'Table';
  29. }
  30. }