Skip to content

Commit 0b5591c

Browse files
authored
Update RichText component documentation
Removed 'pre' from text blocks in the RichText component documentation.
1 parent a2c4e18 commit 0b5591c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/6.1-richtext-component-react.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# RichText Component Reference
1+
ƒ# RichText Component Reference
22

33
The `RichText` component is a React component for rendering Optimizely CMS rich text content. It transforms structured JSON content from the CMS into React elements with full customization support.
44

5-
## Import
5+
## Importƒ
66

77
```tsx
88
import { RichText } from '@optimizely/cms-sdk/react/richText';
@@ -58,7 +58,7 @@ Custom React components for rendering specific element types. Allows you to over
5858
All element types listed below are supported by default and can be customized with the `elements` prop:
5959

6060
- **Headings:** `heading-one`, `heading-two`, `heading-three`, `heading-four`, `heading-five`, `heading-six`
61-
- **Text blocks:** `paragraph`, `quote`, `pre`, `div`
61+
- **Text blocks:** `paragraph`, `quote`, `div`
6262
- **Lists:** `bulleted-list`, `numbered-list`, `list-item`
6363
- **Text semantics (inline):** `span`, `mark`, `strong`, `em`, `u`, `s`, `i`, `b`, `small`, `sub`, `sup`, `ins`, `del`, `kbd`, `abbr`, `cite`, `dfn`, `q`, `data`, `bdo`, `bdi`
6464
- **Code-related:** `code`, `pre`, `var`, `samp`

0 commit comments

Comments
 (0)