Kind: Component
Source: atloria-monorepo/apps/web/src/components/Editor/DocumentEditor.tsx
Props
| Name | Type | Required | Default |
|---|---|---|---|
content | string | ✓ | - |
onChange | Function | ✓ | - |
editable | boolean | - | true |
originalContent | string | - | - |
previewMode | boolean | - | false |
selectedAudiences | string[] | - | [] |
documentId | string | - | - |
projectId | string | - | - |
Diagram
mermaidgraph TD component_DocumentEditor_702dfdfa["DocumentEditor"] class component_DocumentEditor_702dfdfa rootComponent
Relationships
- RENDERS →
AudiencePreviewPanel - RENDERS →
MDXEditor - RENDERS →
KitchenSinkToolbar - RENDERS →
Separator - RENDERS →
InsertBlockElement - RENDERS →
InsertAudienceButton - USES_HOOK →
useRef - USES_HOOK →
useImageUpload - USES_HOOK →
useSession - USES_HOOK →
useAudiences - USES_HOOK →
useAPIClient - USES_HOOK →
useMemo - USES_HOOK →
useCallback - USES_HOOK →
useEffect
Was this page helpful?