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