| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- /**
- * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
- */
- /**
- * @module table/table
- */
- import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
- import TableEditing from './tableediting';
- import TableUI from './tableui';
- import Widget from '@ckeditor/ckeditor5-widget/src/widget';
- import '../theme/table.css';
- /**
- * The table plugin.
- *
- * For a detailed overview, check the {@glink features/table Table feature documentation}.
- *
- * This is a "glue" plugin which loads the {@link module:table/tableediting~TableEditing table editing feature}
- * and {@link module:table/tableui~TableUI table UI feature}.
- *
- * @extends module:core/plugin~Plugin
- */
- export default class Table extends Plugin {
- /**
- * @inheritDoc
- */
- static get requires() {
- return [ TableEditing, TableUI, Widget ];
- }
- /**
- * @inheritDoc
- */
- static get pluginName() {
- return 'Table';
- }
- }
- /**
- * The configuration of the table features. Used by the table features in the `@ckeditor/ckeditor5-table` package.
- *
- * ClassicEditor
- * .create( editorElement, {
- * table: ... // Table feature options.
- * } )
- * .then( ... )
- * .catch( ... );
- *
- * See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
- *
- * @interface TableConfig
- */
- /**
- * The configuration of the {@link module:table/table~Table} feature.
- *
- * Read more in {@link module:table/table~TableConfig}.
- *
- * @member {module:table/table~TableConfig} module:core/editor/editorconfig~EditorConfig#table
- */
|