API reference: @salmonui/rich-text
RichTextToolbarItemIdtype
import type { RichTextToolbarItemId } from '@salmonui/rich-text';type RichTextToolbarItemId = 'bold' | 'italic' | 'underline' | 'strikethrough' | 'subscript' | 'superscript' | 'inlineCode' | 'uppercase' | 'lowercase' | 'fontName' | 'fontSize' | 'fontColor' | 'backgroundColor' | 'formats' | 'paragraph' | 'heading1' | 'heading2' | 'heading3' | 'heading4' | 'heading5' | 'heading6' | 'blockquote' | 'codeBlock' | 'alignments' | 'alignLeft' | 'alignCenter' | 'alignRight' | 'alignJustify' | 'orderedList' | 'unorderedList' | 'checklist' | 'indent' | 'outdent' | 'lineHeight' | 'horizontalRule' | 'clearFormat' | 'link' | 'openLink' | 'editLink' | 'removeLink' | 'image' | 'editImage' | 'audio' | 'video' | 'embed' | 'removeNode' | 'table' | 'addRowBefore' | 'addRowAfter' | 'deleteRow' | 'addColumnBefore' | 'addColumnAfter' | 'deleteColumn' | 'mergeCells' | 'splitCell' | 'toggleHeaderRow' | 'tableStyle' | 'deleteTable' | 'undo' | 'redo' | 'sourceCode' | 'fullscreen' | 'print' | 'findReplace' | 'formatPainter' | 'emoji' | 'import' | 'aiAssistant' | '|';
Built-in toolbar item ids (shared names with MarkdownEditor where they overlap); '|' is a separator.