Files
twenty/packages/twenty-docs/l/es/twenty-ui/input/block-editor.mdx
T
github-actions[bot] 2b3b2362db i18n - docs translations (#21789)
Created by Github action

Co-authored-by: github-actions <github-actions@twenty.com>
2026-06-18 15:21:04 +02:00

37 lines
872 B
Plaintext

---
title: Editor de Bloques
---
<Frame>
<img src="/images/user-guide/api/api.png" alt="Encabezado" />
</Frame>
Usa un editor de texto enriquecido basado en bloques de [BlockNote](https://www.blocknotejs.org/) para permitir a los usuarios editar y ver bloques de contenido.
<Tabs>
<Tab title="Uso">
```jsx
import { useBlockNote } from "@blocknote/react";
import { BlockEditor } from "@/ui/input/editor/components/BlockEditor";
export const MyComponent = () => {
const BlockNoteEditor = useBlockNote();
return <BlockEditor editor={BlockNoteEditor} />;
};
```
</Tab>
<Tab title="Props">
| Props | Tipo | Descripción |
| ------ | ----------------- | -------------------------------------------------- |
| editor | `BlockNoteEditor` | La instancia o configuración del editor de bloques |
</Tab>
</Tabs>