@stll/folio-vue 0.18.1 → 0.19.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.
|
@@ -307,8 +307,10 @@ export type DocxEditorProps = {
|
|
|
307
307
|
to: number;
|
|
308
308
|
}) => void) | undefined;
|
|
309
309
|
/**
|
|
310
|
-
* Operational flags for save-path features. Selective save
|
|
311
|
-
*
|
|
310
|
+
* Operational flags for save-path features. Selective save is ON by
|
|
311
|
+
* default — a save always succeeds, falling back to a full repack whenever
|
|
312
|
+
* the patch-safety checks refuse. Pass `featureFlags={{ selectiveSave:
|
|
313
|
+
* false }}` to always full-repack. The tripwire mode stays OFF by default.
|
|
312
314
|
*/
|
|
313
315
|
featureFlags?: FolioSelectiveSaveFlags;
|
|
314
316
|
/**
|
|
@@ -81,9 +81,11 @@ export type UseDocxEditorOptions = {
|
|
|
81
81
|
/** Callback when a read-only user action would mutate the document. */
|
|
82
82
|
onReadOnlyEditAttempt?: () => void;
|
|
83
83
|
/**
|
|
84
|
-
* Operational flags for the save path. Selective save
|
|
85
|
-
*
|
|
86
|
-
*
|
|
84
|
+
* Operational flags for the save path. Selective save is on by default —
|
|
85
|
+
* a save always succeeds, falling back to a full repack whenever the
|
|
86
|
+
* patch-safety checks refuse. Pass `{ selectiveSave: false }` to always
|
|
87
|
+
* full-repack. The tripwire mode stays off by default. Reactive — read
|
|
88
|
+
* fresh on each `save()`. Mirrors React's `featureFlags`.
|
|
87
89
|
*/
|
|
88
90
|
featureFlags?: MaybeRefOrGetter<FolioSelectiveSaveFlags | undefined>;
|
|
89
91
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stll/folio-vue",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"description": "Vue 3 editor for folio: a Word-document (.docx) editor for the browser, built on @stll/folio-core and ProseMirror.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"document-editor",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"test": "bun test src"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@stll/folio-core": "^0.
|
|
77
|
+
"@stll/folio-core": "^0.49.0",
|
|
78
78
|
"better-result": "3.0.1",
|
|
79
79
|
"use-intl": "^4.13.0",
|
|
80
80
|
"yjs": "^13.6.31"
|