Skip to content
IzzyBlazor

Enter all results ↑ ↓ move Esc close

RichText

Since 0.1.0-alpha.22
Displays HTML from an editor or a CMS safely in the page.

IzzyBlazor.RichText in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.31 assembly and its doc comments.

Properties (9)

Htmlstring?Added in 0.1.0-alpha.22

The HTML to show. It's sanitized first.

FontsIReadOnlyList<string>?Added in 0.1.0-alpha.22

The fonts the text may use, as the editor's Fonts: others are dropped.

FontSizesIReadOnlyList<string>?Added in 0.1.0-alpha.22

The fixed text sizes the text may use, as the editor's FontSizes: others are dropped.

CustomColorsbool = falseAdded in 0.1.0-alpha.22

Keep the editor's custom colors: a text color or highlight as six hex digits, as the editor's CustomColors.

TopHeadingint = 1Added in 0.1.0-alpha.22

The highest heading level shown, 1 to 6: higher headings move down to it. Defaults to 1.

AllowDataImagesbool = falseAdded in 0.1.0-alpha.22

Keep images whose source is a data: URL of a PNG, JPEG, GIF, WebP or AVIF image.

SizeProseSize = ProseSize.MdAdded in 0.1.0-alpha.22From Prose

Text size. Defaults to ProseSize.Md.

Asstring = "div"Added in 0.1.0-alpha.22From Box

The element to render: div on a Box; components built on it set their own (List a ul, Section a section).

ChildContentRenderFragment?Added in 0.1.0-alpha.22From Box

The content.

Events (0)

No events.

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…