@types/ckeditor__ckeditor5-table
Version:
TypeScript definitions for @ckeditor/ckeditor5-table
30 lines (26 loc) • 939 B
TypeScript
import { Plugin } from '@ckeditor/ckeditor5-core';
import TableCellPropertiesEditing from './tablecellproperties/tablecellpropertiesediting';
import TableCellPropertiesUI from './tablecellproperties/tablecellpropertiesui';
export default class TableCellProperties extends Plugin {
static readonly pluginName: 'TableCellProperties';
static readonly requires: [typeof TableCellPropertiesEditing, typeof TableCellPropertiesUI];
}
declare module '@ckeditor/ckeditor5-core/src/plugincollection' {
interface Plugins {
TableCellProperties: TableCellProperties;
}
}
/**
* The configuration of the table cell default properties feature.
*/
export interface TableCellPropertiesOptions {
width: string;
height: string;
padding: string;
backgroundColor: string;
borderColor: string;
borderWidth: string;
borderStyle?: string;
horizontalAlignment?: string;
verticalAlignment?: string;
}