UNPKG

749 BTypeScriptView Raw
1import { Plugin } from '@ckeditor/ckeditor5-core';
2import TablePropertiesEditing from './tableproperties/tablepropertiesediting';
3import TablePropertiesUI from './tableproperties/tablepropertiesui';
4
5export default class TableProperties extends Plugin {
6 static readonly pluginName: 'TableProperties';
7 static readonly requires: [typeof TablePropertiesEditing, typeof TablePropertiesUI];
8}
9
10declare module '@ckeditor/ckeditor5-core/src/plugincollection' {
11 interface Plugins {
12 TableProperties: TableProperties;
13 }
14}
15
16export interface TablePropertiesOptions {
17 width: string;
18 height: string;
19 backgroundColor: string;
20 borderColor: string;
21 borderWidth: string;
22 borderStyle?: string;
23 alignment?: string;
24}