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