@fileverse-dev/ddoc 2.0.3-sync-patch-11 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.es.js +30927 -36017
- package/dist/package/components/editor-bubble-menu.d.ts +3 -1
- package/dist/package/components/tag-input.d.ts +12 -0
- package/dist/package/extensions/resizable-media/media-paste-drop-plugin/media-paste-drop-plugin.d.ts +1 -1
- package/dist/package/types.d.ts +5 -22
- package/dist/package/use-ddoc-editor.d.ts +4 -8
- package/dist/style.css +1 -1
- package/package.json +6 -4
- package/dist/package/extensions/sync-cursor.d.ts +0 -12
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"name": "@fileverse-dev/ddoc",
|
3
3
|
"private": false,
|
4
4
|
"description": "DDoc",
|
5
|
-
"version": "2.0.
|
5
|
+
"version": "2.0.4",
|
6
6
|
"main": "dist/index.es.js",
|
7
7
|
"module": "dist/index.es.js",
|
8
8
|
"exports": {
|
@@ -28,8 +28,7 @@
|
|
28
28
|
"dependencies": {
|
29
29
|
"@_ueberdosis/prosemirror-tables": "^1.1.3",
|
30
30
|
"@aarkue/tiptap-math-extension": "^1.3.3",
|
31
|
-
"@fileverse
|
32
|
-
"@fileverse/ui": "^4.1.1-patch-8",
|
31
|
+
"@fileverse/ui": "^4.1.1-patch-9",
|
33
32
|
"@radix-ui/react-focus-scope": "^1.1.0",
|
34
33
|
"@radix-ui/react-popover": "^1.0.7",
|
35
34
|
"@tippyjs/react": "^4.2.6",
|
@@ -80,7 +79,10 @@
|
|
80
79
|
"turndown": "^7.2.0",
|
81
80
|
"usehooks-ts": "^3.1.0",
|
82
81
|
"vaul": "^0.9.1",
|
83
|
-
"vite-plugin-dts": "^3.6.3"
|
82
|
+
"vite-plugin-dts": "^3.6.3",
|
83
|
+
"y-prosemirror": "^1.2.5",
|
84
|
+
"y-webrtc": "^10.3.0",
|
85
|
+
"yjs": "^13.6.15"
|
84
86
|
},
|
85
87
|
"devDependencies": {
|
86
88
|
"@types/dompurify": "^3.0.5",
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import { Extension } from '@tiptap/core';
|
2
|
-
import { CollaborationCursorOptions, CollaborationCursorStorage } from '../types';
|
3
|
-
|
4
|
-
declare module '@tiptap/core' {
|
5
|
-
interface Commands<ReturnType> {
|
6
|
-
collaborationCursor: {
|
7
|
-
updateUser: (attributes: Record<string, any>) => ReturnType;
|
8
|
-
user: (attributes: Record<string, any>) => ReturnType;
|
9
|
-
};
|
10
|
-
}
|
11
|
-
}
|
12
|
-
export declare const SyncCursor: Extension<CollaborationCursorOptions, CollaborationCursorStorage>;
|