feat: allows group field gutter to be disabled

This commit is contained in:
James
2021-05-04 18:48:51 -04:00
parent e791c5b7b3
commit 9aebeaf579
6 changed files with 24 additions and 6 deletions

View File

@@ -63,10 +63,6 @@ The default `elements` available in Payload are:
The `leaves` property specifies built-in or custom [SlateJS leaves](https://docs.slatejs.org/concepts/08-rendering#leaves) to be enabled within the Admin panel.
**`hideGutter`**
Set this property to hide the gutter.
The default `leaves` available in Payload are:
- `bold`
@@ -75,6 +71,10 @@ The default `leaves` available in Payload are:
- `strikethrough`
- `underline`
**`hideGutter`**
Set this property to `true` to hide this field's gutter within the admin panel. The field gutter is rendered as a vertical line and padding, but often if this field is nested within a Group, Block, or Array, you may want to hide the gutter.
### Relationship element
The built-in `relationship` element is a powerful way to reference other Documents directly within your Rich Text editor.