devexpress-richedit
Version:
DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.
12 lines (11 loc) • 524 B
JavaScript
import { MapCreator } from '../../../../../../common/utils/map-creator';
import { TabDestination } from './tab-destination';
import { TabsLeafElementDestination } from './tabs-leaf-element-destination';
export class TabsDestination extends TabsLeafElementDestination {
get elementHandlerTable() {
return TabsDestination.handlerTable;
}
}
TabsDestination.handlerTable = new MapCreator()
.add('tab', (data, _reader) => new TabDestination(data, data.destinationStack.getThis().tabs))
.get();