@sveltia/cms 0.79.3 → 0.80.0
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 +27 -16
- package/dist/sveltia-cms.js +187 -185
- package/dist/sveltia-cms.js.map +1 -1
- package/dist/sveltia-cms.mjs +192 -190
- package/dist/sveltia-cms.mjs.map +1 -1
- package/package.json +1 -1
- package/types/public.d.ts +8 -0
package/package.json
CHANGED
package/types/public.d.ts
CHANGED
|
@@ -758,6 +758,14 @@ export type MarkdownFieldProps = {
|
|
|
758
758
|
* Whether to sanitize the preview HTML. Default: `false`.
|
|
759
759
|
*/
|
|
760
760
|
sanitize_preview?: boolean;
|
|
761
|
+
/**
|
|
762
|
+
* Whether to enable the linked images feature for the built-in
|
|
763
|
+
* `image` component. Default: `true`. When enabled, the image component provides an additional text
|
|
764
|
+
* field for specifying a URL to wrap the image as a link. The resulting Markdown output will be in
|
|
765
|
+
* the format `[](link)`, where clicking the image navigates to the provided link. This
|
|
766
|
+
* feature can be disabled if it causes conflicts with certain frameworks.
|
|
767
|
+
*/
|
|
768
|
+
linked_images?: boolean;
|
|
761
769
|
};
|
|
762
770
|
/**
|
|
763
771
|
* Markdown field definition.
|