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