Skip to content

Commit b9a4910

Browse files
committed
Remove false (old) claim in object_list widget documentation
1 parent 5118dd6 commit b9a4910

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

docs/reference/widgets.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ It uses the {file}`/src/components/widgets/ColorPicker` component.
4141

4242
## `ColorContrastChecker` component
4343

44-
The `ColorContrastChecker` is a component that helps ensure text accessibility by calculating the contrast ratio between two colors. It is based on WCAG (Web Content Accessibility Guidelines) accessibility standards. It can be added in a widget following a color input field to let the user know in real-time of insufficient contrast. It can be found at {file}`/src/components/widgets/ColorContrastChecker`.
44+
The `ColorContrastChecker` is a component that helps ensure text accessibility by calculating the contrast ratio between two colors. It is based on WCAG (Web Content Accessibility Guidelines) accessibility standards. It can be added in a widget following a color input field to let the user know in real-time of insufficient contrast. It can be found at {file}`/src/components/widgets/ColorContrastChecker`.
4545

4646

4747
```{image} /_static/colorContrastChecker.png
@@ -89,13 +89,13 @@ The component accepts hex color codes (e.g., #FF0000) and compares the field's v
8989
colorPair: 'secondary_color',
9090
default: '#000000',
9191
},
92-
accent_color: {
93-
colorPair: 'accent_foreground_color',
94-
default: '#ecebeb'
92+
accent_color: {
93+
colorPair: 'accent_foreground_color',
94+
default: '#ecebeb'
9595
},
96-
accent_foreground_color: {
97-
colorPair: 'accent_color',
98-
default: '#ffffff'
96+
accent_foreground_color: {
97+
colorPair: 'accent_color',
98+
default: '#ffffff'
9999
},
100100
};
101101
```
@@ -128,8 +128,6 @@ It uses `@plone/components`.
128128
:alt: blocksObject
129129
```
130130

131-
This widget saves its contents in Volto's standard blocks format, using the `blocks_layout` and `blocks` keys.
132-
This allows the standard serializers and deserializers to work with the object schema fields.
133131
The shape of the objects it contains is defined by either the `schema` or `schemaName` props.
134132

135133
If `schemaName` is provided, you should register a schema as a utility in the following form.

0 commit comments

Comments
 (0)