nuvra 0.7.2 → 0.7.3
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 -1
- package/dist/components/document-editor.vue.d.ts +1 -1
- package/dist/index.js +1310 -1304
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -107,7 +107,7 @@ const uploadImage: DocumentImageUploadHandler = async file => {
|
|
|
107
107
|
| `autofocus` | `boolean` | `false` | Places the caret at the end of the document once ready. |
|
|
108
108
|
| `canvasPadding` | `number \| string` | `50` | Gray space around the page or web sheet. |
|
|
109
109
|
| `collaborators` | `Collaborator[]` | `[]` | Other people editing the document; their carets and selections are drawn. |
|
|
110
|
-
| `defaultViewMode` | `'page' \| 'web'` | `'
|
|
110
|
+
| `defaultViewMode` | `'page' \| 'web'` | `'web'` | View shown first. |
|
|
111
111
|
| `disabled` | `boolean` | `false` | Read-only document, disabled controls. |
|
|
112
112
|
| `height` | `number \| string` | `760` | Height of the editor, or `'auto'` to grow between `minHeight`/`maxHeight`. |
|
|
113
113
|
| `locale` | `EditorLocale \| 'uz' \| 'en' \| 'ru'` | — | Interface language; defaults to the app-wide language (Uzbek). |
|
|
@@ -20,7 +20,7 @@ interface Props {
|
|
|
20
20
|
collaborators?: readonly Collaborator[];
|
|
21
21
|
/** Name written as the author of new comments, replies and tracked changes. */
|
|
22
22
|
author?: string;
|
|
23
|
-
/** View shown first
|
|
23
|
+
/** View shown first: the full-width web view by default, or the page view with sheets on a grey canvas. */
|
|
24
24
|
defaultViewMode?: DocumentViewMode;
|
|
25
25
|
/** Makes the document read-only and disables every editing control. */
|
|
26
26
|
disabled?: boolean;
|