Skip to content

Extras

RichTextEditor

Bit.BlazorUI.ExtrasWysiwygEditorHtmlEditor

A native WYSIWYG editor whose HTML you two-way bind with Value. Its toolbar is a flags enum of groups you can reorder and extend; every byte in and out passes an allowlist sanitizer; and markdown typing rules, a slash menu, mentions, keyboard chords, counting, localization and EditForm validation are built in. The toolbar, panels and menus follow the keyboard and ARIA patterns of their roles, and Alt+0 lists every shortcut.

Rich content

Links, images and their upload, text colors and fonts, tables, and embedded media and rules.

Links

Ctrl/Cmd+K opens the link panel: text, URL and "open in a new tab" (with a safe rel); on an existing link it edits, opens or removes it. A bare host becomes https, and an invalid URL raises OnError (code invalid-url) without touching the content. A URL pasted over a selection links it.

Read the Blazor docs to learn more.

Press Alt+0 for keyboard shortcuts.

Images

Insert by URL with alternative text, or drop and paste files. OnImageUpload persists the bytes and returns the URL (null cancels), the editor showing and announcing the upload meanwhile; without it images are inlined as data URLs. Types and size (MaxImageSize, 10 MB by default; 2 MB here) are checked on both sides. A dropped image arrives with empty alt text (a file name describes nothing) and the editor says so; select it and the panel edits its source, alt text and width. It also floats left, center or right and resizes by its handle.

Images can sit inline with text.

Press Alt+0 for keyboard shortcuts.

Colors & fonts

The Color group sets and removes the text and highlight colors: ColorPalette offers your own swatches (arrow keys walk them, a custom field takes any other color); without it the browser's picker opens. The Font group sets the family and size from FontFamilies and FontSizes (or built-in defaults). Both reflect what is applied at the caret.

Make words colorful or highlighted, then pick a typeface.

Press Alt+0 for keyboard shortcuts.

Tables

Insert a table of any size, optionally with a header row. Inside it you can add and delete rows and columns, toggle the header row, merge and split cells (merges survive), and drag a border to size a column. Tab and Shift+Tab walk the cells; Tab in the last one adds a row.

FeatureStatus
TablesReady
Merge & split cellsReady
Press Alt+0 for keyboard shortcuts.

Media & rules

Media embeds a YouTube or Vimeo link as a privacy-friendly iframe and a direct audio/video URL natively. An iframe only survives on an approved https host (widen it with AllowedIframeHosts). Rule inserts a horizontal divider.

Add a divider below, then embed a video.


Next section.

Press Alt+0 for keyboard shortcuts.

Feedback

Found a mistake, a gap, or something that could be clearer? Every page and every component is one click from its source.