@sveltia/cms 0.49.1 → 0.49.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 +9 -7
- package/dist/sveltia-cms.js +170 -170
- package/dist/sveltia-cms.js.map +1 -1
- package/dist/sveltia-cms.mjs +193 -193
- package/dist/sveltia-cms.mjs.map +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -85,9 +85,9 @@ Due to its unfortunate abandonment, Netlify CMS spawned 3 successors:
|
|
|
85
85
|
|
|
86
86
|
- [Static CMS](https://github.com/StaticJsCMS/static-cms): a community fork, initial commit made in September 2022, discontinued in September 2024
|
|
87
87
|
- **Sveltia CMS**: a total reboot, started in November 2022, first appeared on GitHub in March 2023
|
|
88
|
-
- [Decap CMS](https://github.com/decaporg/decap-cms): a rebranded version, [announced in February 2023](https://www.netlify.com/blog/netlify-cms-to-become-decap-cms/) as the official successor, with a Netlify agency partner taking ownership
|
|
88
|
+
- [Decap CMS](https://github.com/decaporg/decap-cms): a rebranded version, [announced in February 2023](https://www.netlify.com/blog/netlify-cms-to-become-decap-cms/) as the official successor, with a Netlify agency partner taking ownership, mostly inactive
|
|
89
89
|
|
|
90
|
-
Sveltia CMS is the only project that doesn’t inherit the complexity, technical debt and
|
|
90
|
+
Sveltia CMS is the only project that doesn’t inherit the complexity, technical debt and numerous bugs of Netlify CMS, which was launched back in 2015. We are confident that our decision to rebuild the application from scratch was the right one, as proven by the [hundreds of improvements](#differentiators) we have already made.
|
|
91
91
|
|
|
92
92
|
While Sveltia CMS is specifically designed to replace legacy Netlify CMS instances, it also aims to serve as a substitute for the other Netlify CMS successors. We hope that, especially with the [robust i18n support](#better-i18n-support), our product will eventually become an attractive choice for anyone looking for a free headless CMS.
|
|
93
93
|
|
|
@@ -107,18 +107,19 @@ While we fix reported bugs as quickly as possible, usually within 24 hours, our
|
|
|
107
107
|
|
|
108
108
|
- Ensuring substantial [compatibility with Netlify/Decap CMS](#compatibility)
|
|
109
109
|
- Tackling as many [Netlify/Decap CMS issues](https://github.com/decaporg/decap-cms/issues) as possible
|
|
110
|
-
- So far, 140+ of them, or
|
|
111
|
-
- Target:
|
|
110
|
+
- So far, 140+ of them, or 255+ including duplicates, have been effectively solved in Sveltia CMS
|
|
111
|
+
- Target: 250 or all relevant and fixable issues in a future release
|
|
112
112
|
- Note: Issues include both feature requests and bug reports; we also track their [stale issues](https://github.com/decaporg/decap-cms/issues?q=is%3Aissue+%22Closing+as+stale%22) and [discussions](https://github.com/decaporg/decap-cms/discussions)
|
|
113
113
|
- [Let us know](https://github.com/sveltia/sveltia-cms/issues/new) if you have any specific issues you’d like to see solved!
|
|
114
114
|
- Responding to feedback from [@kyoshino](https://github.com/kyoshino)’s clients and regular users
|
|
115
115
|
- Implementing our own enhancement ideas for every part of the product
|
|
116
|
+
- Making the code clean and maintainable
|
|
116
117
|
|
|
117
118
|
<br>
|
|
118
119
|
|
|
119
120
|
## Differentiators
|
|
120
121
|
|
|
121
|
-
We are working hard to create a **
|
|
122
|
+
We are working hard to create a **tremendously better alternative to Netlify CMS and Decap CMS** by improving everything. Here’s what makes Sveltia CMS different. Look how serious we are!
|
|
122
123
|
|
|
123
124
|
### Better UX
|
|
124
125
|
|
|
@@ -179,6 +180,7 @@ We are working hard to create a **significantly better alternative to Netlify CM
|
|
|
179
180
|
- We have documented how to [set up a Content Security Policy](#setting-up-content-security-policy) for the CMS to prevent any unexpected errors or otherwise insecure configuration[^108].
|
|
180
181
|
- The `unsafe-eval` and `unsafe-inline` keywords are not needed in the `script-src` CSP directive[^34].
|
|
181
182
|
- The `same-origin` referrer policy is automatically set with a `<meta>` tag.
|
|
183
|
+
- Sveltia CMS has a [secure context](https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts) requirement that forces the site content, including the CMS configuration file, to be served over HTTPS.
|
|
182
184
|
- GitHub commits are automatically GPG-signed and [marked as verified](https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification)[^144].
|
|
183
185
|
|
|
184
186
|
### Better configuration
|
|
@@ -325,7 +327,7 @@ Sveltia CMS has been built with a multilingual architecture from the very beginn
|
|
|
325
327
|
- Users can preview variable types without having to register a preview template[^42].
|
|
326
328
|
- Markdown
|
|
327
329
|
- 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], backslash injections[^53], dropdown visibility[^70], and text input difficulties with IME[^54].
|
|
328
|
-
- The built-in `image` component can be inserted with a single click.
|
|
330
|
+
- The built-in `image` editor component can be inserted with a single click.
|
|
329
331
|
- 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.
|
|
330
332
|
- Line breaks are rendered as line breaks in the preview pane according to GitHub Flavored Markdown (GFM).
|
|
331
333
|
- Object
|
|
@@ -925,7 +927,7 @@ img-src 'self' blob: data: https://*;
|
|
|
925
927
|
|
|
926
928
|
While we don’t have dedicated developer/user support resources, [quick questions](https://github.com/sveltia/sveltia-cms/discussions/new?category=q-a) and [feedback](https://github.com/sveltia/sveltia-cms/discussions/new?category=general) are welcome on the [Discussions](https://github.com/sveltia/sveltia-cms/discussions) page of our GitHub repository. We also have a [Discord channel](https://discord.gg/5hwCGqup5b) for casual chat.
|
|
927
929
|
|
|
928
|
-
|
|
930
|
+
Planning to build a website with Sveltia CMS? Looking for professional support? Maintainer [@kyoshino](https://github.com/kyoshino) is available for hire depending on your needs. Feel free to reach out!
|
|
929
931
|
|
|
930
932
|
## Contributions
|
|
931
933
|
|