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