@fileverse-dev/dsheet 0.0.74 → 0.0.75
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 +1 -0
- package/dist/index.es.js +8953 -8933
- package/dist/package/components/editor-workbook.d.ts +1 -0
- package/dist/package/components/permission-chip.d.ts +7 -0
- package/dist/package/constants/shared-constants.d.ts +0 -1
- package/dist/package/dsheet-editor.d.ts +1 -1
- package/dist/package/types.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -44,6 +44,7 @@ The `DsheetProps` interface is a TypeScript interface that defines the propertie
|
|
|
44
44
|
| `onChange` | `(changes: JSONContent, chunk?: any) => void` | Callback triggered on editor content changes |
|
|
45
45
|
| `ref` | `React.RefObject` | Reference to access editor instance |
|
|
46
46
|
| `isReadOnly` | `boolean` | Controls if editor is in preview/read-only mode |
|
|
47
|
+
| `allowComments` | `boolean` | Enables commenting in read-only mode - adds comment icon to toolbar and context menu (requires `isReadOnly=true`) |
|
|
47
48
|
| `dsheetId` | `string` | Used as room id for collaboration |
|
|
48
49
|
|
|
49
50
|
### Steps to run this example locally
|