@fileverse-dev/ddoc 1.5.4 → 1.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/dist/index.es.js +1969 -1990
- package/dist/index.umd.js +58 -58
- package/dist/style.css +1 -1
- package/package.json +3 -1
package/README.md
CHANGED
@@ -46,7 +46,7 @@ The `DdocProps` interface is a TypeScript interface that defines the properties
|
|
46
46
|
| `ensResolutionUrl` (optional) | `string` | Api Url for resolving ens names |
|
47
47
|
| `initialContent` (optional) | `JSONContent` | Initial content of the editor |
|
48
48
|
| `onChange` (optional) | `(changes: JSONContent) => void` | Optional function that gets triggered with the latest content of the editor on every change in the editor |
|
49
|
-
| `onCollaboratorChange` (optional) | `(collaborators?: IDocCollabUsers[] ) => void` | Optional function that gets triggered when a user
|
49
|
+
| `onCollaboratorChange` (optional) | `(collaborators?: IDocCollabUsers[] ) => void` | Optional function that gets triggered when a user join or leave the doc during collaboration |
|
50
50
|
|
51
51
|
## Data Interface
|
52
52
|
|
@@ -64,3 +64,6 @@ The `Data` interface defines the structure of the data object that can be passed
|
|
64
64
|
- `npm run dev`
|
65
65
|
|
66
66
|
It will open up a vite server, that will have the Ddoc Editor
|
67
|
+
|
68
|
+
|
69
|
+
⚠️ This repository is currently undergoing rapid development, with frequent updates and changes. We recommend not to use in production yet
|