devexpress-richedit
Version:
DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.
18 lines (17 loc) • 457 B
JavaScript
export class ModelFontApi {
_internalItem;
_processor;
constructor(processor, internalItem) {
this._internalItem = internalItem;
this._processor = processor;
}
get name() {
return this._internalItem.name;
}
get cssName() {
return this._internalItem.cssString;
}
delete() {
this._processor.modelManager.modelManipulator.font.removeFont(this._internalItem);
}
}