Styling the content
Since 0.1.0-alpha.22
The members for styling the content, and the types they use. Every member of
IzzyBlazor.RichTextEditor is on the RichTextEditor API.
Properties (3)
ContentClassstring?A class on the text, for your own rules on what's in it, such as .article h2. Give the same class to RichText to show it the same way.
FontSizeProseSize = ProseSize.MdThe text's font size, on Prose's scale: 14, 16 or 18px, with the gaps between paragraphs to match. Defaults to ProseSize.Md. The width follows the editor's container.
TopHeadingint = 1The highest heading level, 1 to 6. The text-style menu offers it and the four below it. Defaults to 1; set 2 when the page shows its own heading 1 above the text, and give RichText the same.
Types (1)
ProseSize
enumText size for Prose.
| Value | Description |
|---|---|
Sm | 14px text, for asides and dense pages. |
Md | 16px text (the default). |
Lg | 18px text, for long reading. |