devexpress-richedit
Version:
DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.
12 lines (11 loc) • 679 B
JavaScript
import { MapCreator } from '../../../../../../../../common/utils/map-creator';
import { TableCellPropertiesDestinationCore } from './table-cell-properties-destination-core';
import { TableCellStyleDestination } from './table-cell-style-destination';
export class TableCellPropertiesDestination extends TableCellPropertiesDestinationCore {
get elementHandlerTable() {
return TableCellPropertiesDestination.handlerTable;
}
}
TableCellPropertiesDestination.handlerTable = new MapCreator(TableCellPropertiesDestinationCore.handlerTable)
.add('tblCStyle', (data) => new TableCellStyleDestination(data, data.destinationStack.getThis().cell))
.get();