feat(richtext-lexical): add new paragraph button below the editor (#10530)

Fixes https://github.com/payloadcms/payload/issues/10448


https://github.com/user-attachments/assets/dfcd4ab6-8e41-4a1b-b642-876a0737d9ae
This commit is contained in:
Alessio Gravili
2025-01-13 12:08:00 -07:00
committed by GitHub
parent 2ae26d33e3
commit 6757f7d459
6 changed files with 122 additions and 12 deletions

View File

@@ -305,6 +305,8 @@ The Rich Text Field editor configuration has an `admin` property with the follow
| --- | --- |
| **`placeholder`** | Set this property to define a placeholder string for the field. |
| **`hideGutter`** | Set this property to `true` to hide this field's gutter within the Admin Panel. |
| **`hideInsertParagraphAtEnd`** | Set this property to `true` to hide the "+" button that appears at the end of the editor |
### Disable the gutter
@@ -336,4 +338,4 @@ You can customize the placeholder (the text that appears in the editor when it's
},
}),
}
```
```