3dd858c91e
Created by Github action Pulls the latest documentation translations from Crowdin for all supported languages: - French (fr) - Arabic (ar) - Czech (cs) - German (de) - Spanish (es) - Italian (it) - Japanese (ja) - Korean (ko) - Portuguese (pt) - Romanian (ro) - Russian (ru) - Turkish (tr) - Chinese (zh-CN) --------- Co-authored-by: github-actions <github-actions@twenty.com>
32 lines
1004 B
Plaintext
32 lines
1004 B
Plaintext
---
|
|
title: Block Editor
|
|
image: /images/user-guide/api/api.png
|
|
---
|
|
|
|
<Frame>
|
|
<img src="/images/user-guide/api/api.png" alt="Kopfzeile" />
|
|
</Frame>
|
|
|
|
Verwendet einen blockbasierten Rich-Text-Editor von [BlockNote](https://www.blocknotejs.org/), um Benutzern das Bearbeiten und Anzeigen von Inhaltsblöcken zu ermöglichen.
|
|
|
|
<Tabs>
|
|
<Tab title=""Verwendung"">
|
|
```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=""Eigenschaften"">
|
|
| "Eigenschaften" | Typ | Beschreibung |
|
|
| --------------- | ----------------- | ------------------------------------------- |
|
|
| Editor | `BlockNoteEditor` | Instanz oder Konfiguration des Blockeditors |
|
|
</Tab>
|
|
</Tabs>
|