# Ruby Ruby annotations above the base text, edited from a toolbar popover. ## Installation ```bash npx shadcn@latest add litingyes/blocove/rich-text-editor-ruby ``` > Typography requires [shadcn/typeset](https://ui.shadcn.com/docs/typeset). Copy `typeset.css` next to your main stylesheet, import it after Tailwind and add the `.typeset-docs` preset. ## API Reference ### EditorRuby Registers the ruby text mark. The annotation is rendered above the base text in an rt element. ### EditorRubyToolbar Toolbar popover that sets, edits or removes the annotation of the selected base text. | Prop | Type | Default | | --- | --- | --- | | `className` | `string` | - | ## Registry dependencies - `litingyes/blocove/rich-text-editor` - `litingyes/blocove/rich-text-editor-extension` - `button` - `input` - `popover` Namespace: `npx shadcn@latest add @blocove/rich-text-editor-ruby`