> ## Documentation Index
> Fetch the complete documentation index at: https://docs.twenty.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Éditeur de Blocs

<Frame>
  <img src="https://mintcdn.com/twenty/JIRRbviz5phT8G2L/images/user-guide/api/api.png?fit=max&auto=format&n=JIRRbviz5phT8G2L&q=85&s=ee5516c73ff3a67329a76b0cab916d3c" alt="En-tête" width="1440" height="680" data-path="images/user-guide/api/api.png" />
</Frame>

Utilise un éditeur de texte riche basé sur des blocs de [BlockNote](https://www.blocknotejs.org/) pour permettre aux utilisateurs de modifier et de visualiser des blocs de contenu.

<Tabs>
  <Tab title="Utilisation">
    ```jsx theme={null}
    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="Propriétés">
    | Propriétés | Type              | Description                                          |
    | ---------- | ----------------- | ---------------------------------------------------- |
    | éditeur    | `BlockNoteEditor` | L'instance de l'éditeur de blocs ou sa configuration |
  </Tab>
</Tabs>
