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