@fileverse-dev/ddoc 1.2.6 → 1.2.8
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -1
- package/dist/index.es.js +31354 -16773
- package/dist/index.umd.js +103 -103
- package/dist/packages/ddoc/ddoc-editor.d.ts +1 -1
- package/dist/packages/ddoc/types.d.ts +7 -1
- package/dist/packages/ddoc/use-ddoc-editor.d.ts +2 -2
- package/dist/packages/ddoc/utils/cursor.d.ts +5 -0
- package/dist/packages/ddoc/utils/getAddressName.d.ts +6 -0
- package/dist/style.css +1 -1
- package/package.json +2 -1
package/README.md
CHANGED
@@ -37,7 +37,8 @@ The `DdocProps` interface is a TypeScript interface that defines the properties
|
|
37
37
|
| `toggleCollaboration` (optional) | `(flag: boolean) => void` | Function to toggle collaboration mode with a boolean flag |
|
38
38
|
| `onAutoSave` (optional) | `(flag:boolean) => void` | Function which expose the current editor state every 10 seconds |
|
39
39
|
| `renderToolRightSection` (optional) | `({editor, pluginMetaData}) => JSX.Element` | Function that render the right section of the toolbar. it calls the function with the editor instance and the pluginMedata |
|
40
|
-
| `username` (required when using collaboration) | `boolean` | Takes a username which can be used by collaboration cursor
|
40
|
+
| `username` (required when using collaboration) | `boolean` | Takes a username which can be used by collaboration cursor
|
41
|
+
| `ensProviderUrl` | `string` | Takes a url |
|
41
42
|
|
42
43
|
## Data Interface
|
43
44
|
|