@sveltia/cms 0.13.0 → 0.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/dist/sveltia-cms.js +137 -137
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -96,11 +96,12 @@ We are working hard to create a **much better alternative to Netlify/Decap CMS**
|
|
|
96
96
|
### Better fields/widgets
|
|
97
97
|
|
|
98
98
|
- Required fields, not optional fields, are clearly marked for efficient data entry.
|
|
99
|
+
- Leading and trailing spaces in text-type field values are automatically removed when you save the entry[^37].
|
|
99
100
|
- You can revert changes to all fields or a specific field.
|
|
100
101
|
- You can hide the preview of a specific field with `preview: false`.
|
|
101
102
|
- The String widget supports the `type` property that accepts `url` or `email` as a value, which will validate the value as a URL or email.
|
|
102
|
-
- The String widget supports the `prefix` and `suffix` string properties, which
|
|
103
|
-
- The Boolean, Number and String widgets support the `before_input` and `after_input` string properties, which allow developers to display custom labels before and/or after the input UI[^28].
|
|
103
|
+
- The String widget supports the `prefix` and `suffix` string properties, which automatically prepend and/or append the developer-defined value to the user-input value.
|
|
104
|
+
- The Boolean, Number and String widgets support the `before_input` and `after_input` string properties, which allow developers to display custom labels before and/or after the input UI[^28]. Markdown is supported in the value.
|
|
104
105
|
- Relation field options are displayed with no additional API requests[^14]. The `options_length` property is therefore ignored.
|
|
105
106
|
- The `summary` for the List and Object widgets is displayed correctly when it refers to a Relation field[^36].
|
|
106
107
|
- Provides a reimagined all-in-one asset selection dialog for File and Image fields.
|
|
@@ -473,3 +474,4 @@ This software is provided “as is” without any express or implied warranty. W
|
|
|
473
474
|
[^34]: Netlify/Decap CMS [#2138](https://github.com/decaporg/decap-cms/issues/2138)
|
|
474
475
|
[^35]: Netlify/Decap CMS [#7086](https://github.com/decaporg/decap-cms/issues/7086)
|
|
475
476
|
[^36]: Netlify/Decap CMS [#6325](https://github.com/decaporg/decap-cms/issues/6325)
|
|
477
|
+
[^37]: Netlify/Decap CMS [#1481](https://github.com/decaporg/decap-cms/issues/1481)
|