@sveltia/cms 0.26.0 → 0.26.2
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 +3 -3
- package/dist/sveltia-cms.js +138 -138
- package/dist/sveltia-cms.mjs +139 -139
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -30,7 +30,7 @@ While we are fixing reported bugs as fast as we can, usually within 24 hours, th
|
|
|
30
30
|
- Tackling as many [issues reported to Netlify/Decap CMS](https://github.com/decaporg/decap-cms/issues) as possible (so far 75+ of them have been effectively solved in Sveltia CMS, with the goal of reaching 100 by GA)
|
|
31
31
|
- Implementing our own enhancement ideas
|
|
32
32
|
|
|
33
|
-
At this point, **we are
|
|
33
|
+
At this point, **we are on track to ship version 1.0 in Q3 2024**. Check our [release notes](https://github.com/sveltia/sveltia-cms/releases) for updates.
|
|
34
34
|
|
|
35
35
|
## Features
|
|
36
36
|
|
|
@@ -137,7 +137,7 @@ We are working hard to create a **significantly better alternative to Netlify CM
|
|
|
137
137
|
- You can hide the preview of a specific field with `preview: false`.
|
|
138
138
|
- Fields with validation errors are automatically expanded if they are part of nested, collapsed objects[^40].
|
|
139
139
|
- When you click on a field in the Preview pane, the corresponding field in the Editor pane is highlighted. It will be automatically expanded if collapsed[^41].
|
|
140
|
-
- You can use a full regular expression, including flags, for the widget `pattern` option[^82]. For example, if you want to allow 280 characters or less in
|
|
140
|
+
- You can use a full regular expression, including flags, for the widget `pattern` option[^82]. For example, if you want to allow 280 characters or less in a multiline text field, you could write `/^.{0,280}$/s`.
|
|
141
141
|
- A long validation error message is displayed in full, without being hidden behind the field label[^59].
|
|
142
142
|
|
|
143
143
|
### Better data output
|
|
@@ -458,7 +458,7 @@ With this configuration, an entry is saved with localized filenames, while the d
|
|
|
458
458
|
translationKey: my-trip-to-new-york
|
|
459
459
|
```
|
|
460
460
|
|
|
461
|
-
You can customize the property name and value for a different framework or i18n library by adding the `canonical_slug` option to your top-level or per-collection `i18n` configuration. The example below is for [`@astrolicious/i18n`](https://github.com/astrolicious/i18n)
|
|
461
|
+
You can customize the property name and value for a different framework or i18n library by adding the `canonical_slug` option to your top-level or per-collection `i18n` configuration. The example below is for [`@astrolicious/i18n`](https://github.com/astrolicious/i18n), which requires a locale prefix in the value ([discussion](https://github.com/sveltia/sveltia-cms/issues/137)):
|
|
462
462
|
|
|
463
463
|
```yaml
|
|
464
464
|
i18n:
|