aspnetcore-js-devexpress-dot-richedit-1bca2724.md
Declares settings that allow you to provide information about fonts available in the control.
export interface IRichEditFontsSettings
See the Font Management topic to learn more about fonts in the Rich Text Editor.
Specifies a folder that contains font source files.
defaultFolder?: string
| Type | Description |
|---|---|
| string |
The folder URL.
|
When you populate the fonts collection with a font, you should provide the font’s source files for four styles: regular, bold, italic, and bold italic. Place the source files in the defaultFolder folder and name them according to the rules listed below to automatically assign the files to a corresponding font object.
| File Name | Description | Example |
|---|---|---|
| fontFamily + .ttf/.woff | The font in regular style | calibri.ttf |
| fontFamily + b + .ttf/.woff | The font in bold style | calibrib.ttf |
| fontFamily + i + .ttf/.woff | The font in italic style | calibrii.ttf |
| fontFamily + z + .ttf/.woff | The font in bold italic style | calibriz.ttf |
See the Font Management topic to learn more about fonts in the Rich Text Editor.
Provides access to a collection of fonts available in the control.
fonts?: IFontSettings[]
| Type | Description |
|---|---|
| IFontSettings[] |
The array of fonts.
|
Use the fonts property to specify a list of fonts available in the control. This list limits fonts for the ribbon and dialogs.
Provides access to font mapping settings.
mappings?: IFontMapping
| Type | Description |
|---|---|
| IFontMapping |
An object that contains font mapping settings.
|
The fonts property lists fonts available in the Rich Text Editor. When a user inserts content that includes unlisted fonts, the control permanently updates the inserted font information according to rules specified in the mappings property.