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.

Editing aids

Find and replace, sanitization and paste, markdown typing rules and the slash menu, keyboard shortcuts, the selection toolbar and mentions.

Find & replace

Highlights every match and marks the current one, announcing its position. Enter / Shift+Enter step through them, Enter in the replace box replaces (Ctrl/Cmd+Enter all of them), match case and whole word narrow the search, and Escape closes the panel back to the text.

The quick brown fox jumps over the lazy dog. The fox is quick, and the foxes are quicker.

Press Alt+0 for keyboard shortcuts.

Sanitization & paste

A SanitizationPolicy lists the tags, attributes and URI schemes that survive paste, drop, source view and code; tightening it at runtime re-cleans the loaded content. The Source group shows the raw HTML and validates it on the way back. Pasted Word and Google Docs markup is normalized first; PasteAsPlainText (or Ctrl/Cmd+Shift+V once) drops the formatting entirely.

Only allowlisted tags, attributes and URI schemes survive.

Press Alt+0 for keyboard shortcuts.

Press Alt+0 for keyboard shortcuts.

Typing aids

Markdown prefixes convert as you type (#-######, >, -, 1., [], ```, ---), as do inline **bold**, *italic*, ~~strike~~ and `code`. / on an empty line opens a command menu, a finished URL becomes a link (AutoLink), and SmartTypography curls quotes and turns --, ..., (c), -> and friends into their symbols. Tab / Shift+Tab nest list items, Ctrl/Cmd+Enter ticks a task, and Enter on an empty last line leaves a quote or code block. Nothing fires inside code.

Type "quotes" -- an ellipsis... or (c) 2026, and start a new line with / or [] .

Press Alt+0 for keyboard shortcuts.

Keyboard shortcuts

Built in: Ctrl/Cmd+B, I, U, E (code), K (link), Shift+X (strike), Shift+7/8/9 (lists), Z/Y (history) and \ (clear formatting). KeyboardShortcuts maps more chords (use "ctrl" for the primary key) to a command or a paragraph format; what a chord is bound to is what its button announces. Alt+0 (or the Help group) lists every key the editor answers to, custom chords included, and the surface tells a screen reader so.

Commands: bold, italic, underline, strikeThrough, inlineCode, undo, redo, insertOrderedList, insertUnorderedList, insertTaskList, justifyLeft, justifyCenter, justifyRight, justifyFull, indent, outdent, subscript, superscript, removeFormat, link, unlink, insertHorizontalRule; formats (toggled): p, h1-h6, blockquote, pre.

Press Ctrl/Cmd+Shift+S, Ctrl/Cmd+Shift+L or Ctrl/Cmd+Shift+1, and Alt+0 to list them all.

Press Alt+0 for keyboard shortcuts.

Selection toolbar

ShowQuickToolbar floats a compact formatting bar over the selection; Alt+F10 moves the focus into it and Escape back. With ShowToolbar off it makes a chrome-free writing surface; Ctrl/Cmd+K still opens the link panel.

Select any part of this sentence and the formatting bar appears right above it.

Press Alt+0 for keyboard shortcuts.

Mentions

With OnMentionSearch, @ at the start of a word opens a people picker fed by your lookup (only the newest result is applied). The inserted span carries your id in data-mention-id, and OnMentionSelected reports the pick.

Type @ to bring up the people picker.

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.