@ctzhian/tiptap 2.7.2 → 2.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.
|
@@ -7,6 +7,6 @@ export interface UploadProgressAttributes {
|
|
|
7
7
|
tempId: string;
|
|
8
8
|
}
|
|
9
9
|
export declare const getFileIcon: (fileType: string) => React.JSX.Element;
|
|
10
|
-
export declare const getFileTypeText: (fileType: string) => "
|
|
10
|
+
export declare const getFileTypeText: (fileType: string) => "视频" | "音频" | "图片" | "文件";
|
|
11
11
|
declare const UploadProgressView: React.FC<NodeViewProps>;
|
|
12
12
|
export default UploadProgressView;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { UploadFunction } from "../../type";
|
|
2
2
|
export declare const FileHandlerExtension: (props: {
|
|
3
3
|
onUpload?: UploadFunction;
|
|
4
|
-
}) => import("@tiptap/core").Extension<Omit<import("@tiptap/extension-file-handler").FileHandlePluginOptions, "
|
|
4
|
+
}) => import("@tiptap/core").Extension<Omit<import("@tiptap/extension-file-handler").FileHandlePluginOptions, "key" | "editor">, any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ctzhian/tiptap",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.3",
|
|
4
4
|
"description": "基于 Tiptap 二次开发的编辑器组件",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -82,37 +82,37 @@
|
|
|
82
82
|
"dependencies": {
|
|
83
83
|
"@floating-ui/dom": "^1.7.2",
|
|
84
84
|
"@floating-ui/react": "^0.27.16",
|
|
85
|
-
"@tiptap/core": "
|
|
86
|
-
"@tiptap/extension-bubble-menu": "
|
|
87
|
-
"@tiptap/extension-code": "
|
|
88
|
-
"@tiptap/extension-code-block-lowlight": "
|
|
89
|
-
"@tiptap/extension-details": "
|
|
90
|
-
"@tiptap/extension-drag-handle-react": "
|
|
91
|
-
"@tiptap/extension-emoji": "
|
|
92
|
-
"@tiptap/extension-file-handler": "
|
|
93
|
-
"@tiptap/extension-highlight": "
|
|
94
|
-
"@tiptap/extension-horizontal-rule": "
|
|
95
|
-
"@tiptap/extension-image": "
|
|
96
|
-
"@tiptap/extension-invisible-characters": "
|
|
97
|
-
"@tiptap/extension-list": "
|
|
98
|
-
"@tiptap/extension-mathematics": "
|
|
99
|
-
"@tiptap/extension-mention": "
|
|
100
|
-
"@tiptap/extension-subscript": "
|
|
101
|
-
"@tiptap/extension-superscript": "
|
|
102
|
-
"@tiptap/extension-table": "
|
|
103
|
-
"@tiptap/extension-table-of-contents": "
|
|
104
|
-
"@tiptap/extension-text-align": "
|
|
105
|
-
"@tiptap/extension-text-style": "
|
|
106
|
-
"@tiptap/extension-unique-id": "
|
|
107
|
-
"@tiptap/extension-youtube": "
|
|
108
|
-
"@tiptap/extensions": "
|
|
109
|
-
"@tiptap/html": "
|
|
110
|
-
"@tiptap/markdown": "
|
|
111
|
-
"@tiptap/pm": "
|
|
112
|
-
"@tiptap/react": "
|
|
113
|
-
"@tiptap/starter-kit": "
|
|
114
|
-
"@tiptap/static-renderer": "
|
|
115
|
-
"@tiptap/suggestion": "
|
|
85
|
+
"@tiptap/core": "3.11.1",
|
|
86
|
+
"@tiptap/extension-bubble-menu": "3.11.1",
|
|
87
|
+
"@tiptap/extension-code": "3.11.1",
|
|
88
|
+
"@tiptap/extension-code-block-lowlight": "3.11.1",
|
|
89
|
+
"@tiptap/extension-details": "3.11.1",
|
|
90
|
+
"@tiptap/extension-drag-handle-react": "3.11.1",
|
|
91
|
+
"@tiptap/extension-emoji": "3.11.1",
|
|
92
|
+
"@tiptap/extension-file-handler": "3.11.1",
|
|
93
|
+
"@tiptap/extension-highlight": "3.11.1",
|
|
94
|
+
"@tiptap/extension-horizontal-rule": "3.11.1",
|
|
95
|
+
"@tiptap/extension-image": "3.11.1",
|
|
96
|
+
"@tiptap/extension-invisible-characters": "3.11.1",
|
|
97
|
+
"@tiptap/extension-list": "3.11.1",
|
|
98
|
+
"@tiptap/extension-mathematics": "3.11.1",
|
|
99
|
+
"@tiptap/extension-mention": "3.11.1",
|
|
100
|
+
"@tiptap/extension-subscript": "3.11.1",
|
|
101
|
+
"@tiptap/extension-superscript": "3.11.1",
|
|
102
|
+
"@tiptap/extension-table": "3.11.1",
|
|
103
|
+
"@tiptap/extension-table-of-contents": "3.11.1",
|
|
104
|
+
"@tiptap/extension-text-align": "3.11.1",
|
|
105
|
+
"@tiptap/extension-text-style": "3.11.1",
|
|
106
|
+
"@tiptap/extension-unique-id": "3.11.1",
|
|
107
|
+
"@tiptap/extension-youtube": "3.11.1",
|
|
108
|
+
"@tiptap/extensions": "3.11.1",
|
|
109
|
+
"@tiptap/html": "3.11.1",
|
|
110
|
+
"@tiptap/markdown": "3.11.1",
|
|
111
|
+
"@tiptap/pm": "3.11.1",
|
|
112
|
+
"@tiptap/react": "3.11.1",
|
|
113
|
+
"@tiptap/starter-kit": "3.11.1",
|
|
114
|
+
"@tiptap/static-renderer": "3.11.1",
|
|
115
|
+
"@tiptap/suggestion": "3.11.1",
|
|
116
116
|
"ace-builds": "^1.43.4",
|
|
117
117
|
"core-js": "^3.46.0",
|
|
118
118
|
"diff-match-patch": "^1.0.5",
|