Security
Since 0.1.0-alpha.22
The members for security, and the types they use. Every member of
IzzyBlazor.RichTextEditor is on the RichTextEditor API.
Parts (1)
Components written inside RichTextEditor, and the columns' members, which PropertyColumn, TemplateColumn and DynamicColumn share.
RichText
Shows saved rich text, such as a rich text editor's value or HTML from a CMS: sanitized, then styled as Prose.
Htmlstring?The HTML to show. It's sanitized first.
FontsIReadOnlyList<string>?The fonts the text may use, as the editor's Fonts: others are dropped.
FontSizesIReadOnlyList<string>?The fixed text sizes the text may use, as the editor's FontSizes: others are dropped.
CustomColorsbool = falseKeep the editor's custom colors: a text color or highlight as six hex digits, as the editor's CustomColors.
TopHeadingint = 1The highest heading level shown, 1 to 6: higher headings move down to it. Defaults to 1.
AllowDataImagesbool = falseKeep images whose source is a data: URL of a PNG, JPEG, GIF, WebP or AVIF image.
SizeProseSize = ProseSize.MdText size. Defaults to ProseSize.Md.
Asstring = "div"The element to render: div on a Box; components built on it set their own (List a ul, Section a section).
ChildContentRenderFragment?The content.
Plus 27 surface props, 17 item props and 4 common props.
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. |