RedactorConfiguration class
RedactorConfiguration class
Provides access to a list of supported formats, built-in and custom user formats.
The RedactorConfiguration type exposes the following members:
Properties
| Property | Description |
|---|---|
| available_formats | Gets a list of recognized formats, see DocumentFormatConfiguration. |
Methods
| Method | Description |
|---|---|
| find_format | Finds format configurations for a given file extension. |
| get_instance | Provides a singleton instance with default configuration of built-in formats. |
Remarks
Learn more | | | |
Example
The following example demonstrates how to add a custom user format handler.