@sveltia/cms 0.5.20 → 0.5.22
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 +8 -5
- package/dist/sveltia-cms.js +165 -165
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -38,7 +38,7 @@ Here are some highlights mainly compared to Netlify/Decap CMS:
|
|
|
38
38
|
|
|
39
39
|
- Built completely from scratch with [Svelte](https://svelte.dev/) rather than forking React-based Netlify/Decap CMS. The app starts fast and stays fast. The compiled code is vanilla JavaScript; you can use it with any framework.
|
|
40
40
|
- Using the GraphQL API for GitHub by default to fetch contents quickly at once, so showing and searching entries and media are now instant. Saving entries and media is also much faster.
|
|
41
|
-
- Small footprint: less than
|
|
41
|
+
- Small footprint: less than 300 KB when minified and gzipped, compared to 1.5 MB of Netlify/Decap CMS.
|
|
42
42
|
|
|
43
43
|
### Better productivity
|
|
44
44
|
|
|
@@ -46,7 +46,10 @@ Here are some highlights mainly compared to Netlify/Decap CMS:
|
|
|
46
46
|
- Integration with Pexels, Pixabay and Unsplash makes it easy to insert free stock photos into image fields[^8].
|
|
47
47
|
- You can [work on a local Git repository](#work-with-a-local-git-repository) without having to run a proxy server.
|
|
48
48
|
- Delete multiple entries and assets at once.
|
|
49
|
-
- Providing some keyboard shortcuts
|
|
49
|
+
- Providing some keyboard shortcuts for faster editing. More to come!
|
|
50
|
+
- Create a new entry: `Ctrl+E` (Windows/Linux) / `Command+E` (macOS)
|
|
51
|
+
- Save an entry: `Ctrl+S` (Windows/Linux) / `Command+S` (macOS)
|
|
52
|
+
- Search for entries and assets: `Ctrl+F` (Windows/Linux) / `Command+F` (macOS)
|
|
50
53
|
- Solving various outstanding Netlify/Decap CMS bugs[^11].
|
|
51
54
|
|
|
52
55
|
### Better i18n support
|
|
@@ -78,7 +81,7 @@ While it’s not our goal to recreate all the features found in Netlify/Decap CM
|
|
|
78
81
|
| Feature | Status in Sveltia CMS |
|
|
79
82
|
| --- | --- |
|
|
80
83
|
| Installation | Installing with npm is not supported yet. |
|
|
81
|
-
| UI locales | Only English and Japanese are available at this time. No registration is needed. While the UI locale is automatically selected depending on the browser’s language settings, it can be changed in
|
|
84
|
+
| UI locales | Only English and Japanese are available at this time. No registration is needed. While the UI locale is automatically selected depending on the browser’s language settings, it can be changed in Settings. (Click on the Account button at the top right corner of the CMS.) |
|
|
82
85
|
| Account | Only the [GitHub backend](https://decapcms.org/docs/github-backend/) is available at this time. You can keep using Netlify or a [3rd party OAuth client](https://decapcms.org/docs/external-oauth-clients/) (or [our own](https://github.com/sveltia/sveltia-cms-auth)) to sign in with GitHub, just like Netlify/Decap CMS. The GitLab backend is coming soon. We plan to add the Test backend as well for our demo site, but Azure and Bitbucket are unlikely to be supported, mainly due to the lack of an API method to fetch content in bulk. Later we may implement a performant Git Gateway alternative using GraphQL. |
|
|
83
86
|
| Configuration | Supported. |
|
|
84
87
|
| Media | External media storage services are not supported yet. |
|
|
@@ -239,8 +242,8 @@ In Sveltia CMS, those per-collection media folders are displayed prominently for
|
|
|
239
242
|
Sveltia CMS comes with a handy DeepL integration so that you can translate any text field from another locale without leaving the content editor. To enable the high-quality, quick translation feature:
|
|
240
243
|
|
|
241
244
|
1. Sign up for [DeepL API](https://www.deepl.com/pro-api/) and copy your Authentication Key from DeepL’s Account page.
|
|
242
|
-
1. Go back to Sveltia CMS, click on the Account button at the top right corner, then click
|
|
243
|
-
1. Paste your key to the DeepL API Authentication Key field, and close the
|
|
245
|
+
1. Go back to Sveltia CMS, click on the Account button at the top right corner, then click Settings.
|
|
246
|
+
1. Paste your key to the DeepL API Authentication Key field, and close the Settings dialog.
|
|
244
247
|
1. Open any entry, and you can now translate all fields or individual fields by selecting the Translate menu item.
|
|
245
248
|
1. If you have upgraded to DeepL API Pro, provide your new Authentication Key in the same way.
|
|
246
249
|
|