# Invisible Characters Reveals the spaces and paragraph marks around the text. ## Installation ```bash npx shadcn@latest add litingyes/blocove/rich-text-editor-invisible-characters ``` > 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. Invisible characters are decorations: they are rendered next to the document, never written into it. The extension starts with the characters visible, so the toolbar toggle can reveal and hide them. ## API Reference ### EditorInvisibleCharacters Registers the invisible characters extension. Spaces, paragraph marks and hard breaks are rendered through decorations while the characters are visible. | Prop | Type | Default | | --- | --- | --- | | `visible` | `boolean` | `true` | ### EditorInvisibleCharactersToolbar Toolbar toggle that shows and hides the invisible characters. | Prop | Type | Default | | --- | --- | --- | | `className` | `string` | - | ## Registry dependencies - `litingyes/blocove/rich-text-editor` - `litingyes/blocove/rich-text-editor-extension` Namespace: `npx shadcn@latest add @blocove/rich-text-editor-invisible-characters`