@fileverse-dev/ddoc 1.4.5 → 1.4.7
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -2
- package/dist/constants/index.d.ts +1 -0
- package/dist/index.es.js +4520 -4489
- package/dist/index.umd.js +96 -86
- package/dist/packages/ddoc/components/editor-utils.d.ts +0 -1
- package/dist/packages/ddoc/types.d.ts +1 -1
- package/dist/packages/ddoc/use-ddoc-editor.d.ts +2 -2
- package/dist/packages/ddoc/utils/getAddressName.d.ts +1 -0
- package/package.json +2 -1
package/README.md
CHANGED
@@ -38,8 +38,8 @@ The `DdocProps` interface is a TypeScript interface that defines the properties
|
|
38
38
|
| `onAutoSave` (optional) | `(flag:boolean) => void` | Function which expose the current editor state every 10 seconds |
|
39
39
|
| `renderToolRightSection` (optional) | `({editor}) => JSX.Element` | Function that render the right section of the toolbar. it calls the function with the editor instance |
|
40
40
|
| `renderToolLeftSection` (optional) | `({editor}) => JSX.Element` | Accept a react component |
|
41
|
-
| `username` (required when using collaboration) | `boolean` | Takes a username which can be used by collaboration cursor
|
42
|
-
| `
|
41
|
+
| `username` (required when using collaboration) | `boolean` | Takes a username which can be used by collaboration cursor
|
42
|
+
| `walletAddress` (optional) | `string ` | Takes a wallet address |
|
43
43
|
| `ref` (optional) | `any` | Gets editor instance |
|
44
44
|
|
45
45
|
## Data Interface
|