@fileverse-dev/ddoc 1.6.4 → 1.6.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.es.js +14219 -14623
- package/dist/index.umd.js +113 -147
- package/dist/packages/ddoc/use-ddoc-editor.d.ts +1 -1
- package/package.json +24 -24
@@ -2,7 +2,7 @@ import { DdocProps } from './types';
|
|
2
2
|
|
3
3
|
import * as Y from 'yjs';
|
4
4
|
export declare const useDdocEditor: ({ isPreviewMode, initialContent, enableCollaboration, collaborationId, walletAddress, username, onChange, onCollaboratorChange, onCommentInteraction, onTextSelection, ensResolutionUrl, handleImageUploadToIpfs, }: Partial<DdocProps>) => {
|
5
|
-
editor: import('@tiptap/react').Editor;
|
5
|
+
editor: import('@tiptap/react').Editor | null;
|
6
6
|
ref: import('react').RefObject<HTMLDivElement>;
|
7
7
|
loading: boolean;
|
8
8
|
connect: (username: string | null | undefined, isEns?: boolean) => () => void;
|
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"name": "@fileverse-dev/ddoc",
|
3
3
|
"private": false,
|
4
4
|
"description": "DDoc",
|
5
|
-
"version": "1.6.
|
5
|
+
"version": "1.6.6",
|
6
6
|
"main": "dist/index.umd.js",
|
7
7
|
"module": "dist/index.es.js",
|
8
8
|
"exports": {
|
@@ -30,29 +30,29 @@
|
|
30
30
|
"@_ueberdosis/prosemirror-tables": "^1.1.3",
|
31
31
|
"@radix-ui/react-popover": "^1.0.7",
|
32
32
|
"@tippyjs/react": "^4.2.6",
|
33
|
-
"@tiptap/core": "^2.
|
34
|
-
"@tiptap/extension-bullet-list": "^2.
|
35
|
-
"@tiptap/extension-collaboration": "^2.
|
36
|
-
"@tiptap/extension-collaboration-cursor": "^2.
|
37
|
-
"@tiptap/extension-color": "^2.
|
38
|
-
"@tiptap/extension-document": "^2.
|
39
|
-
"@tiptap/extension-dropcursor": "^2.
|
40
|
-
"@tiptap/extension-font-family": "^2.
|
41
|
-
"@tiptap/extension-gapcursor": "^2.
|
42
|
-
"@tiptap/extension-highlight": "^2.
|
43
|
-
"@tiptap/extension-history": "^2.
|
44
|
-
"@tiptap/extension-link": "^2.
|
45
|
-
"@tiptap/extension-list-item": "^2.
|
46
|
-
"@tiptap/extension-placeholder": "^2.
|
47
|
-
"@tiptap/extension-task-item": "^2.
|
48
|
-
"@tiptap/extension-task-list": "^2.
|
49
|
-
"@tiptap/extension-text-align": "^2.
|
50
|
-
"@tiptap/extension-text-style": "^2.
|
51
|
-
"@tiptap/extension-underline": "^2.
|
52
|
-
"@tiptap/pm": "^2.
|
53
|
-
"@tiptap/react": "^2.
|
54
|
-
"@tiptap/starter-kit": "^2.
|
55
|
-
"@tiptap/suggestion": "^2.
|
33
|
+
"@tiptap/core": "^2.4.0",
|
34
|
+
"@tiptap/extension-bullet-list": "^2.4.0",
|
35
|
+
"@tiptap/extension-collaboration": "^2.4.0",
|
36
|
+
"@tiptap/extension-collaboration-cursor": "^2.4.0",
|
37
|
+
"@tiptap/extension-color": "^2.4.0",
|
38
|
+
"@tiptap/extension-document": "^2.4.0",
|
39
|
+
"@tiptap/extension-dropcursor": "^2.4.0",
|
40
|
+
"@tiptap/extension-font-family": "^2.4.0",
|
41
|
+
"@tiptap/extension-gapcursor": "^2.4.0",
|
42
|
+
"@tiptap/extension-highlight": "^2.4.0",
|
43
|
+
"@tiptap/extension-history": "^2.4.0",
|
44
|
+
"@tiptap/extension-link": "^2.4.0",
|
45
|
+
"@tiptap/extension-list-item": "^2.4.0",
|
46
|
+
"@tiptap/extension-placeholder": "^2.4.0",
|
47
|
+
"@tiptap/extension-task-item": "^2.4.0",
|
48
|
+
"@tiptap/extension-task-list": "^2.4.0",
|
49
|
+
"@tiptap/extension-text-align": "^2.4.0",
|
50
|
+
"@tiptap/extension-text-style": "^2.4.0",
|
51
|
+
"@tiptap/extension-underline": "^2.4.0",
|
52
|
+
"@tiptap/pm": "^2.4.0",
|
53
|
+
"@tiptap/react": "^2.4.0",
|
54
|
+
"@tiptap/starter-kit": "^2.4.0",
|
55
|
+
"@tiptap/suggestion": "^2.4.0",
|
56
56
|
"classnames": "^2.5.1",
|
57
57
|
"embla-carousel-react": "^8.1.5",
|
58
58
|
"ethers": "^6.13.1",
|