@fileverse-dev/ddoc 1.1.7 → 1.1.9
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -0
- package/dist/index.es.js +122 -110
- package/dist/index.umd.js +2 -2
- 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
|
|