devexpress-richedit
Version:
DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.
10 lines (9 loc) • 425 B
JavaScript
import { InvalidDocumentMode } from '../../utils/enums';
import { Log } from '../../../rich-utils/debug/logger/base-logger/log';
export class RtfImporterOptions {
constructor(throwInvalidFile = (reason) => { if (Log.isDebug)
console.log(`LoadedFileIsIncorrect: ${reason}`); }) {
this.invalidDocumentMode = InvalidDocumentMode.OpenAnyway;
this.throwInvalidFile = throwInvalidFile;
}
}