devexpress-richedit
Version:
DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.
12 lines (11 loc) • 364 B
JavaScript
import { ModelChangeType } from '../../enums';
export class TabInsertedSubDocumentChange {
constructor(subDocumentId, newState) {
this.subDocumentId = subDocumentId;
this.newState = newState;
this.type = ModelChangeType.TabInserted;
}
toJSON(withPostData) {
return this.newState.toJSON(withPostData);
}
}