UNPKG

devexpress-richedit

Version:

DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.

13 lines (12 loc) 635 B
import { StringUtils } from '@devexpress/utils/lib/utils/string'; import { UnicodeStringValueDestination } from '../base/unicode-string-value-destination'; import { DestinationType } from '../utils/destination-type'; export class FormFieldHelpTextDestination extends UnicodeStringValueDestination { get destinationType() { return DestinationType.FormFieldHelpTextDestination; } afterPopRtfState() { this.importer.importers.field.fields.peek().formFieldProperties.helpText = StringUtils.trim(this.value); } createEmptyClone() { return new FormFieldHelpTextDestination(this.importer); } }