tiptap-ui-kit-k 0.1.0
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/LICENSE +21 -0
- package/README.md +450 -0
- package/dist/IMG_8528.JPG +0 -0
- package/dist/IMG_8529.JPG +0 -0
- package/dist/index.d.ts +1397 -0
- package/dist/index.esm.js +67452 -0
- package/dist/index.js +14 -0
- package/dist/llms.txt +65 -0
- package/dist/tiptap-ui-kit-k.css +1 -0
- package/dist/websocket-DLLOwgDf.js +12 -0
- package/dist/websocket-Hm6nu9fH.cjs +1 -0
- package/package.json +166 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const __vite_import_meta_env__ = {};
|
|
2
|
+
function getWebSocketUrl(documentId) {
|
|
3
|
+
const baseUrl = __vite_import_meta_env__?.VITE_COLLABORATION_WS_URL;
|
|
4
|
+
if (!baseUrl) {
|
|
5
|
+
console.warn("[Tiptap] VITE_COLLABORATION_WS_URL not configured");
|
|
6
|
+
return "";
|
|
7
|
+
}
|
|
8
|
+
return `${baseUrl}/${documentId}`;
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
getWebSocketUrl
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t={};exports.getWebSocketUrl=function(e){const o=t?.VITE_COLLABORATION_WS_URL;return o?`${o}/${e}`:""};
|
package/package.json
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tiptap-ui-kit-k",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Beautiful Tiptap 3 + Vue 3 rich-text editor theme with AI support",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"module": "dist/index.esm.js",
|
|
8
|
+
"types": "dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.esm.js",
|
|
13
|
+
"require": "./dist/index.js"
|
|
14
|
+
},
|
|
15
|
+
"./style.css": "./dist/style.css"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"dev": "vite",
|
|
22
|
+
"build": "vite build",
|
|
23
|
+
"build:demo": "vite build --config vite.config.demo.ts",
|
|
24
|
+
"build:types": "vue-tsc --emitDeclarationOnly",
|
|
25
|
+
"preview": "vite preview",
|
|
26
|
+
"typecheck": "vue-tsc --noEmit",
|
|
27
|
+
"test": "vitest",
|
|
28
|
+
"test:ui": "vitest --ui",
|
|
29
|
+
"test:run": "vitest run",
|
|
30
|
+
"test:coverage": "vitest run --coverage",
|
|
31
|
+
"prepublishOnly": "pnpm build",
|
|
32
|
+
"release": "pnpm build && pnpm publish",
|
|
33
|
+
"moltbook": "node scripts/moltbook-bot.cjs",
|
|
34
|
+
"moltbook:post": "node scripts/moltbook-bot.cjs post",
|
|
35
|
+
"moltbook:status": "node scripts/moltbook-bot.cjs status",
|
|
36
|
+
"moltbook:auto": "node scripts/moltbook-bot.cjs auto",
|
|
37
|
+
"moltbook:smart": "node scripts/moltbook-smart-bot.cjs run",
|
|
38
|
+
"moltbook:smart:auto": "node scripts/moltbook-smart-bot.cjs auto",
|
|
39
|
+
"moltbook:feedback": "node scripts/moltbook-smart-bot.cjs feedback",
|
|
40
|
+
"moltbook:monitor": "node scripts/moltbook-monitor.cjs",
|
|
41
|
+
"moltbook:watch": "node scripts/moltbook-monitor.cjs watch"
|
|
42
|
+
},
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"@tiptap/core": "^3.0.0",
|
|
45
|
+
"@tiptap/pm": "^3.0.0",
|
|
46
|
+
"@tiptap/starter-kit": "^3.0.0",
|
|
47
|
+
"@tiptap/vue-3": "^3.0.0",
|
|
48
|
+
"vue": "^3.4.0"
|
|
49
|
+
},
|
|
50
|
+
"peerDependenciesMeta": {
|
|
51
|
+
"ant-design-vue": {
|
|
52
|
+
"optional": true
|
|
53
|
+
},
|
|
54
|
+
"@ant-design/icons-vue": {
|
|
55
|
+
"optional": true
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"devDependencies": {
|
|
59
|
+
"@ant-design/icons-vue": "^7.0.1",
|
|
60
|
+
"@tiptap/core": "^3.7.2",
|
|
61
|
+
"@tiptap/extension-bubble-menu": "^3.7.2",
|
|
62
|
+
"@tiptap/extension-character-count": "^3.0.0",
|
|
63
|
+
"@tiptap/extension-code-block-lowlight": "^3.7.1",
|
|
64
|
+
"@tiptap/extension-collaboration": "^3.13.0",
|
|
65
|
+
"@tiptap/extension-collaboration-cursor": "^2.26.2",
|
|
66
|
+
"@tiptap/extension-color": "^3.0.0",
|
|
67
|
+
"@tiptap/extension-font-family": "^3.7.2",
|
|
68
|
+
"@tiptap/extension-highlight": "^3.0.0",
|
|
69
|
+
"@tiptap/extension-image": "^3.0.0",
|
|
70
|
+
"@tiptap/extension-link": "^3.0.0",
|
|
71
|
+
"@tiptap/extension-placeholder": "^3.0.0",
|
|
72
|
+
"@tiptap/extension-subscript": "^3.7.2",
|
|
73
|
+
"@tiptap/extension-superscript": "^3.7.2",
|
|
74
|
+
"@tiptap/extension-table": "^3.0.0",
|
|
75
|
+
"@tiptap/extension-table-cell": "^3.13.0",
|
|
76
|
+
"@tiptap/extension-table-header": "^3.13.0",
|
|
77
|
+
"@tiptap/extension-table-row": "^3.13.0",
|
|
78
|
+
"@tiptap/extension-task-item": "^3.7.1",
|
|
79
|
+
"@tiptap/extension-task-list": "^3.7.1",
|
|
80
|
+
"@tiptap/extension-text-align": "^3.0.0",
|
|
81
|
+
"@tiptap/extension-text-style": "^3.0.0",
|
|
82
|
+
"@tiptap/extension-typography": "^3.7.2",
|
|
83
|
+
"@tiptap/extension-underline": "^3.0.0",
|
|
84
|
+
"@tiptap/extensions": "^3.11.1",
|
|
85
|
+
"@tiptap/pm": "^3.7.2",
|
|
86
|
+
"@tiptap/starter-kit": "^3.7.2",
|
|
87
|
+
"@tiptap/vue-3": "^3.7.2",
|
|
88
|
+
"@types/file-saver": "^2.0.7",
|
|
89
|
+
"@types/katex": "^0.16.8",
|
|
90
|
+
"@types/node": "^25.0.2",
|
|
91
|
+
"@vitejs/plugin-vue": "^5.2.1",
|
|
92
|
+
"@vitest/ui": "^4.0.18",
|
|
93
|
+
"@vue/test-utils": "^2.4.6",
|
|
94
|
+
"ant-design-vue": "^4.2.6",
|
|
95
|
+
"happy-dom": "^20.4.0",
|
|
96
|
+
"lowlight": "^3.3.0",
|
|
97
|
+
"lucide-vue-next": "^0.507.0",
|
|
98
|
+
"rollup-plugin-obfuscator": "^1.1.0",
|
|
99
|
+
"sass-embedded": "^1.96.0",
|
|
100
|
+
"terser": "^5.44.1",
|
|
101
|
+
"typescript": "^5.7.2",
|
|
102
|
+
"vite": "^6.0.3",
|
|
103
|
+
"vite-plugin-dts": "^4.3.0",
|
|
104
|
+
"vitest": "^4.0.18",
|
|
105
|
+
"vue": "^3.5.13",
|
|
106
|
+
"vue-tsc": "^2.1.10",
|
|
107
|
+
"vue-types": "^3.0.2",
|
|
108
|
+
"y-websocket": "^3.0.0",
|
|
109
|
+
"yjs": "^13.6.27"
|
|
110
|
+
},
|
|
111
|
+
"keywords": [
|
|
112
|
+
"tiptap",
|
|
113
|
+
"tiptap3",
|
|
114
|
+
"tiptap-editor",
|
|
115
|
+
"tiptap-vue",
|
|
116
|
+
"tiptap-template",
|
|
117
|
+
"tiptap-theme",
|
|
118
|
+
"vue3",
|
|
119
|
+
"vue",
|
|
120
|
+
"vue-component",
|
|
121
|
+
"vue-editor",
|
|
122
|
+
"rich-text-editor",
|
|
123
|
+
"wysiwyg",
|
|
124
|
+
"wysiwyg-editor",
|
|
125
|
+
"editor",
|
|
126
|
+
"theme",
|
|
127
|
+
"ui-kit",
|
|
128
|
+
"ai",
|
|
129
|
+
"ai-editor",
|
|
130
|
+
"ai-writing",
|
|
131
|
+
"collaboration",
|
|
132
|
+
"real-time-collaboration",
|
|
133
|
+
"markdown",
|
|
134
|
+
"prosemirror",
|
|
135
|
+
"contenteditable",
|
|
136
|
+
"text-editor",
|
|
137
|
+
"word-processor",
|
|
138
|
+
"notion",
|
|
139
|
+
"notion-editor",
|
|
140
|
+
"document-editor",
|
|
141
|
+
"typescript",
|
|
142
|
+
"dark-mode",
|
|
143
|
+
"i18n",
|
|
144
|
+
"cms"
|
|
145
|
+
],
|
|
146
|
+
"author": "benngaihk",
|
|
147
|
+
"license": "MIT",
|
|
148
|
+
"homepage": "https://github.com/benngaihk/Tiptap-UI-Kit#readme",
|
|
149
|
+
"bugs": {
|
|
150
|
+
"url": "https://github.com/benngaihk/Tiptap-UI-Kit/issues"
|
|
151
|
+
},
|
|
152
|
+
"repository": {
|
|
153
|
+
"type": "git",
|
|
154
|
+
"url": "https://github.com/benngaihk/Tiptap-UI-Kit.git"
|
|
155
|
+
},
|
|
156
|
+
"engines": {
|
|
157
|
+
"node": ">=18.0.0",
|
|
158
|
+
"pnpm": ">=8.0.0"
|
|
159
|
+
},
|
|
160
|
+
"dependencies": {
|
|
161
|
+
"docx": "^9.5.1",
|
|
162
|
+
"file-saver": "^2.0.5",
|
|
163
|
+
"katex": "^0.16.28",
|
|
164
|
+
"mammoth": "^1.11.0"
|
|
165
|
+
}
|
|
166
|
+
}
|