@fileverse-dev/ddoc 1.2.1 → 1.2.3
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 +5298 -5119
- package/dist/index.umd.js +93 -93
- package/dist/packages/ddoc/components/editor-bubble-menu.d.ts +11 -0
- package/dist/packages/ddoc/ddoc-editor.d.ts +1 -1
- package/dist/packages/ddoc/types.d.ts +2 -1
- package/dist/packages/ddoc/use-ddoc-editor.d.ts +3 -1
- package/dist/style.css +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
@@ -38,6 +38,7 @@ The `DdocProps` interface is a TypeScript interface that defines the properties
|
|
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
40
|
| `onAutoSave` (optional) | `(flag:boolean) => void` | Function which expose the current editor state every 10 seconds |
|
41
|
+
| `username` (required when using collaboration) | `boolean` | Takes a username which can be used by collaboration cursor
|
41
42
|
|
42
43
|
## Data Interface
|
43
44
|
|