devexpress-richedit
Version:
DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.
11 lines (10 loc) • 525 B
JavaScript
import { CharacterPropertyDescriptor } from '../../../../../../../common/model/character/character-property-descriptor';
import { CharacterFormattingLeafElementDestination } from '../character-formatting-leaf-element-destination';
export class LanguageDestination extends CharacterFormattingLeafElementDestination {
async processElementOpen(reader) {
this.setProperty(this.data.readerHelper.readLanguage(reader));
}
getDescriptor() {
return CharacterPropertyDescriptor.langInfo;
}
}