UNPKG

939 BTypeScriptView Raw
1import { Plugin } from '@ckeditor/ckeditor5-core';
2import TableCellPropertiesEditing from './tablecellproperties/tablecellpropertiesediting';
3import TableCellPropertiesUI from './tablecellproperties/tablecellpropertiesui';
4
5export default class TableCellProperties extends Plugin {
6 static readonly pluginName: 'TableCellProperties';
7 static readonly requires: [typeof TableCellPropertiesEditing, typeof TableCellPropertiesUI];
8}
9
10declare module '@ckeditor/ckeditor5-core/src/plugincollection' {
11 interface Plugins {
12 TableCellProperties: TableCellProperties;
13 }
14}
15
16/**
17 * The configuration of the table cell default properties feature.
18 */
19export interface TableCellPropertiesOptions {
20 width: string;
21 height: string;
22 padding: string;
23 backgroundColor: string;
24 borderColor: string;
25 borderWidth: string;
26 borderStyle?: string;
27 horizontalAlignment?: string;
28 verticalAlignment?: string;
29}