devexpress-richedit
Version:
DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.
11 lines (10 loc) • 460 B
JavaScript
import { ContentInsertedSubDocumentChange } from '../../change-base';
import { ModelChangeType } from '../../enums';
export class SectionInsertedSubDocumentChange extends ContentInsertedSubDocumentChange {
constructor(subDocumentId, position, section, sectionIndex) {
super(subDocumentId, position, 1);
this.section = section;
this.sectionIndex = sectionIndex;
this.type = ModelChangeType.SectionInserted;
}
}