github sveltia/sveltia-cms v0.230.0

latest releases: v0.270.1, v0.270.0, v0.269.2...
one month ago
  • A custom endpoint with a trailing slash no longer breaks the listing of objects in the Amazon S3 media library. The documentation now has a Self-Hosted Storage section on S3-compatible servers such as Garage and MinIO, covering the region, CORS and public read access. (#1039)
  • Sveltia CMS now exposes the HTM tagged template as a global html tag. You can use it to write custom preview templates, editor components and field types in JSX-like markup without a build step, instead of nesting h() calls. class, for and string style attributes work as they do in HTML. The documentation examples are now available in HTM, JSX and h() syntax.
  • The toPreview function of a custom editor component now receives a getAsset function and the component’s fields as its second and third arguments, like Netlify/Decap CMS. getAsset returns a URL that works for a file that hasn’t been published or even saved yet. Use it for a CSS background image or any path your component transforms. Once the file has been retrieved, the preview is rendered again. See Displaying Assets for details. (#1046)
  • In the preview of a RichText field and its editor components, file paths are now replaced with working URLs in more places. Previously, only the src of <img> was resolved. Now srcset on <img> and <source>, src on <source>, <video> and <audio>, and the poster of <video> are resolved too.
  • Bug fixes and improvements.

Full Changelog: v0.229.0...v0.230.0

Don't miss a new sveltia-cms release

NewReleases is sending notifications on new releases.