Skip to content
IzzyBlazor

Enter all results ↑ ↓ move Esc close

Styling the content

Since 0.1.0-alpha.22
The text uses Prose's styles, so it looks the same in the editor and where it's shown.

The members for styling the content, and the types they use. Every member of IzzyBlazor.RichTextEditor is on the RichTextEditor API.

Properties (3)

ContentClassstring?Added in 0.1.0-alpha.22

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.MdAdded in 0.1.0-alpha.22

The 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 = 1Added in 0.1.0-alpha.22

The 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

enum

Text size for Prose.

ProseSize values
ValueDescription
Sm

14px text, for asides and dense pages.

Md

16px text (the default).

Lg

18px text, for long reading.

Connection lost

Rejoining the server…