@fileverse-dev/ddoc 1.1.6 → 1.1.8
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 +1 -0
- package/dist/index.es.js +2119 -2063
- package/dist/index.umd.js +78 -63
- package/dist/packages/ddoc/ddoc-editor.d.ts +1 -1
- package/dist/packages/ddoc/types.d.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
@@ -37,6 +37,7 @@ The `DdocProps` interface is a TypeScript interface that defines the properties
|
|
37
37
|
| `enableCollaboration` (optional) | `boolean` | Optional property to enable collaboration
|
38
38
|
| `collaborationId` (optional) | `string` | When using enableCollaboration, you need to provide collaborationId, it can be uuid of doc |
|
39
39
|
| `toggleCollaboration` (optional) | `(flag: boolean) => void` | Function to toggle collaboration mode with a boolean flag |
|
40
|
+
| `onAutoSave` (optional) | `(flag:boolean) => void` | Function which expose the current editor state every 10 seconds |
|
40
41
|
|
41
42
|
## Data Interface
|
42
43
|
|