@sveltia/cms 0.58.3 → 0.58.5

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 CHANGED
@@ -365,12 +365,13 @@ Sveltia CMS has been built with a multilingual architecture from the very beginn
365
365
  - The `min` and `max` options can be used separately. You don’t need to specify both to use either option.[^145]
366
366
  - The Add Item button appears at the bottom of the list when the `add_to_top` option is not `true`, so you don’t have to scroll up each time to add new items.
367
367
  - Users can expand or collapse the entire list, while the Expand All and Collapse All buttons allow you to expand or collapse all items in the list at once.[^164]
368
- - A required List field with no subfield or value is marked as invalid.[^43]
368
+ - A required List field with no subfield or value is marked as invalid.[^43] No need to set the `min` and `max` options for the `required` option to work.
369
369
  - An optional List field with no subfield or value is saved as an empty array, rather than nothing.[^44]
370
370
  - An optional List field won’t populate an item by default when the subfield has the `default` value.[^162]
371
371
  - Users can enter spaces in a simple text-based List field.[^50]
372
372
  - Users can preview variable types without having to register a preview template.[^42]
373
373
  - It’s possible to omit `fields` in a variable type object.[^163] In that case, only the `typeKey` (default: `type`) is saved in the output.
374
+ - A collapsed List field will not display a programmatic summary like `List [ Map { "key": "value" } ]` if the `summary` option is not set.[^183]
374
375
  - Markdown
375
376
  - The rich text editor is built with the well-maintained [Lexical](https://lexical.dev/) framework, which solves various issues with a [Slate](https://github.com/ianstormtaylor/slate)-based editor in Netlify/Decap CMS, including fatal application crashes,[^71][^72][^73][^111] lost formatting when pasting,[^124] an extra line break when pasting,[^169] backslash injections,[^53] dropdown visibility,[^70] and text input difficulties with IME.[^54]
376
377
  - The default editor mode can be set by changing the order of the `modes` option.[^58] If you want to use the plain text editor by default, add `modes: [raw, rich_text]` to the field configuration.
@@ -490,6 +491,7 @@ However, 100% feature parity is not planned, and some features are still missing
490
491
  - The theme and keymap inline settings of the Code widget will not be supported, and some languages are dropped, as we use the [Prism](https://prismjs.com/)-powered code block functionality in Lexical instead of [CodeMirror](https://codemirror.net/).
491
492
  - Remark plugins will not be supported, as they are not compatible with our Lexical-based rich text editor.
492
493
  - [Undocumented methods](https://github.com/sveltia/sveltia-cms/blob/c69446da7bb0bab7405be741c0f92850c5dddfa8/src/main.js#L14-L37) exposed on the `window.CMS` object will not be implemented. This includes custom backends and custom media libraries, if any. We may support these features in the future, but our implementation would likely be incompatible with Netlify/Decap CMS.
494
+ - An absolute URL for the [`public_folder`](https://decapcms.org/docs/configuration-options/#public-folder) option will not be supported, as such configuration is not recommended, as stated in the Netlify/Decap CMS document.
493
495
 
494
496
  ### Features to be implemented before GA
495
497
 
@@ -1483,3 +1485,5 @@ This software is provided “as is” without any express or implied warranty. W
1483
1485
  [^181]: Netlify/Decap CMS [#6254](https://github.com/decaporg/decap-cms/issues/6254)
1484
1486
 
1485
1487
  [^182]: Netlify/Decap CMS [#4416](https://github.com/decaporg/decap-cms/issues/4416)
1488
+
1489
+ [^183]: Netlify/Decap CMS [#1275](https://github.com/decaporg/decap-cms/issues/1275)