@fileverse-dev/ddoc 1.5.8 → 1.5.9
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -2
- package/dist/index.es.js +2147 -2178
- package/dist/index.umd.js +68 -68
- package/dist/packages/ddoc/types.d.ts +1 -1
- package/dist/packages/ddoc/use-ddoc-editor.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
@@ -36,7 +36,6 @@ The `DdocProps` interface is a TypeScript interface that defines the properties
|
|
36
36
|
| `enableCollaboration` (optional) | `boolean` | Optional property to enable collaboration |
|
37
37
|
| `onCommentInteraction` (optional) | `(commentInfo: IEditSelectionData) => void` | Optional function that get's called whenever there is a mouse-over and click interaction on a comment |
|
38
38
|
| `collaborationId` (optional) | `string` | When using enableCollaboration, you need to provide collaborationId, it can be uuid of doc |
|
39
|
-
| `onAutoSave` (optional) | `(flag:boolean) => void` | Function which expose the current seditor state every 10 seconds |
|
40
39
|
| `onTextSelection` (optional) | `(data: IEditorSelectionData) => void` | Function called when a text is selected on the editor |
|
41
40
|
| `renderToolRightSection` (optional) | `({editor}) => JSX.Element` | Function that render the right section of the toolbar. it calls the function with the editor instance |
|
42
41
|
| `renderToolLeftSection` (optional) | `({editor}) => JSX.Element` | Accept a react component |
|
@@ -50,7 +49,7 @@ The `DdocProps` interface is a TypeScript interface that defines the properties
|
|
50
49
|
|
51
50
|
## Data Interface
|
52
51
|
|
53
|
-
The `Data` interface defines the structure of the data object
|
52
|
+
The `Data` interface defines the structure of the data object
|
54
53
|
|
55
54
|
### Properties
|
56
55
|
|