1 | import { Plugin } from '@ckeditor/ckeditor5-core';
|
2 | import TableCellPropertiesEditing from './tablecellproperties/tablecellpropertiesediting';
|
3 | import TableCellPropertiesUI from './tablecellproperties/tablecellpropertiesui';
|
4 |
|
5 | export default class TableCellProperties extends Plugin {
|
6 | static readonly pluginName: 'TableCellProperties';
|
7 | static readonly requires: [typeof TableCellPropertiesEditing, typeof TableCellPropertiesUI];
|
8 | }
|
9 |
|
10 | declare module '@ckeditor/ckeditor5-core/src/plugincollection' {
|
11 | interface Plugins {
|
12 | TableCellProperties: TableCellProperties;
|
13 | }
|
14 | }
|
15 |
|
16 |
|
17 |
|
18 |
|
19 | export 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 | }
|