build-table-source.js 774 B

12345678910111213141516171819202122
  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. /* globals window */
  6. import ClassicEditor from '@ckeditor/ckeditor5-build-classic/src/ckeditor';
  7. import Table from '@ckeditor/ckeditor5-table/src/table';
  8. import TableToolbar from '@ckeditor/ckeditor5-table/src/tabletoolbar';
  9. import TableProperties from '@ckeditor/ckeditor5-table/src/tableproperties';
  10. import TableCellProperties from '@ckeditor/ckeditor5-table/src/tablecellproperties';
  11. ClassicEditor.builtinPlugins.push( Table );
  12. ClassicEditor.builtinPlugins.push( TableToolbar );
  13. window.ClassicEditor = ClassicEditor;
  14. window.CKEditorPlugins = {
  15. TableProperties,
  16. TableCellProperties
  17. };