UNPKG

@ckeditor/ckeditor5-table

Version:

Table feature for CKEditor 5.

35 lines (34 loc) 855 B
/** * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options */ /** * @module table/tablecaption */ import { Plugin } from 'ckeditor5/src/core.js'; import TableCaptionEditing from './tablecaption/tablecaptionediting.js'; import TableCaptionUI from './tablecaption/tablecaptionui.js'; import '../theme/tablecaption.css'; /** * The table caption plugin. */ export default class TableCaption extends Plugin { /** * @inheritDoc */ static get pluginName() { return 'TableCaption'; } /** * @inheritDoc */ static get isOfficialPlugin() { return true; } /** * @inheritDoc */ static get requires() { return [TableCaptionEditing, TableCaptionUI]; } }