@sveltia/cms 0.74.0 → 0.74.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 +2 -2
- package/dist/sveltia-cms.js +152 -152
- package/dist/sveltia-cms.js.map +1 -1
- package/dist/sveltia-cms.mjs +146 -146
- package/dist/sveltia-cms.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -408,15 +408,15 @@ Sveltia CMS has been built with a multilingual architecture from the very beginn
|
|
|
408
408
|
- Markdown
|
|
409
409
|
- 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]
|
|
410
410
|
- 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.
|
|
411
|
+
- A Markdown field plays well with a variable type List field.[^202]
|
|
411
412
|
- A combination of bold and italic doesn’t create a confusing 3-asterisk markup.[^160] In our editor, bold is 2 asterisks and italic is an underscore.
|
|
412
413
|
- The built-in `image` component can be inserted with a single click.
|
|
413
414
|
- The built-in `image` component allows users to add, edit or remove a link on an image.[^171]
|
|
415
|
+
- It’s possible to paste/drop local/remote images into the rich text editor to insert them as expected. Note: Pasting multiple images is [not supported in Firefox](https://bugzilla.mozilla.org/show_bug.cgi?id=864052). In Netlify/Decap CMS, pasting an image may cause the application to crash.
|
|
414
416
|
- The built-in `code-block` component is implemented just like a blockquote. You can simply convert a normal paragraph into a code block instead of adding a component.
|
|
415
417
|
- Code in a code block in the editor can be copied as expected.[^165]
|
|
416
418
|
- Language-annotated code block doesn’t trigger unsaved changes.[^189]
|
|
417
419
|
- Line breaks are rendered as line breaks in the Preview Pane according to GitHub Flavored Markdown (GFM).
|
|
418
|
-
- A Markdown field plays well with a variable type List field.[^202]
|
|
419
|
-
- It’s possible to paste/drop local/remote images into the rich text editor to insert these images. Note: Pasting multiple images is [not supported in Firefox](https://bugzilla.mozilla.org/show_bug.cgi?id=864052).
|
|
420
420
|
- Number
|
|
421
421
|
- If the `value_type` option is `int` (default) or `float`, the `required` option is `false`, and the value is not entered, the field will be saved as `null` instead of an empty string.[^157] If `value_type` is anything else, the data type will remain a string.
|
|
422
422
|
- Object
|