@oyat/editor 1.2.2 → 1.3.1
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/dist/components/editor/editor-base-kit.d.ts +2 -0
- package/dist/components/editor/editor-base-kit.d.ts.map +1 -0
- package/dist/components/editor/editor-kit.d.ts +6 -0
- package/dist/components/editor/editor-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/suggestion-kit.d.ts +1 -1
- package/dist/components/editor/plugins/suggestion-kit.d.ts.map +1 -1
- package/dist/components/editor/use-chat.d.ts.map +1 -1
- package/dist/components/ui/block-list-static.d.ts.map +1 -1
- package/dist/components/ui/block-suggestion.d.ts +1 -4
- package/dist/components/ui/block-suggestion.d.ts.map +1 -1
- package/dist/components/ui/blockquote-node-static.d.ts +1 -1
- package/dist/components/ui/blockquote-node-static.d.ts.map +1 -1
- package/dist/components/ui/calendar.d.ts.map +1 -1
- package/dist/components/ui/callout-node-static.d.ts +1 -1
- package/dist/components/ui/callout-node-static.d.ts.map +1 -1
- package/dist/components/ui/code-block-node-static.d.ts +2 -1
- package/dist/components/ui/code-block-node-static.d.ts.map +1 -1
- package/dist/components/ui/code-node-static.d.ts +1 -1
- package/dist/components/ui/code-node-static.d.ts.map +1 -1
- package/dist/components/ui/column-node-static.d.ts +2 -1
- package/dist/components/ui/column-node-static.d.ts.map +1 -1
- package/dist/components/ui/comment-node-static.d.ts +2 -1
- package/dist/components/ui/comment-node-static.d.ts.map +1 -1
- package/dist/components/ui/date-node-static.d.ts +2 -1
- package/dist/components/ui/date-node-static.d.ts.map +1 -1
- package/dist/components/ui/editor-static.d.ts +1 -1
- package/dist/components/ui/editor-static.d.ts.map +1 -1
- package/dist/components/ui/equation-node-static.d.ts +2 -1
- package/dist/components/ui/equation-node-static.d.ts.map +1 -1
- package/dist/components/ui/export-toolbar-button.d.ts.map +1 -1
- package/dist/components/ui/heading-node-static.d.ts +1 -1
- package/dist/components/ui/heading-node-static.d.ts.map +1 -1
- package/dist/components/ui/highlight-node-static.d.ts +1 -1
- package/dist/components/ui/highlight-node-static.d.ts.map +1 -1
- package/dist/components/ui/hr-node-static.d.ts +1 -1
- package/dist/components/ui/hr-node-static.d.ts.map +1 -1
- package/dist/components/ui/kbd-node-static.d.ts +1 -1
- package/dist/components/ui/kbd-node-static.d.ts.map +1 -1
- package/dist/components/ui/link-node-static.d.ts +2 -1
- package/dist/components/ui/link-node-static.d.ts.map +1 -1
- package/dist/components/ui/media-audio-node-static.d.ts +2 -1
- package/dist/components/ui/media-audio-node-static.d.ts.map +1 -1
- package/dist/components/ui/media-file-node-static.d.ts +2 -1
- package/dist/components/ui/media-file-node-static.d.ts.map +1 -1
- package/dist/components/ui/media-image-node-static.d.ts +2 -1
- package/dist/components/ui/media-image-node-static.d.ts.map +1 -1
- package/dist/components/ui/media-video-node-static.d.ts +2 -1
- package/dist/components/ui/media-video-node-static.d.ts.map +1 -1
- package/dist/components/ui/mention-node-static.d.ts +2 -1
- package/dist/components/ui/mention-node-static.d.ts.map +1 -1
- package/dist/components/ui/paragraph-node-static.d.ts +1 -1
- package/dist/components/ui/paragraph-node-static.d.ts.map +1 -1
- package/dist/components/ui/suggestion-node-static.d.ts +2 -1
- package/dist/components/ui/suggestion-node-static.d.ts.map +1 -1
- package/dist/components/ui/suggestion-node.d.ts.map +1 -1
- package/dist/components/ui/table-node-static.d.ts +2 -1
- package/dist/components/ui/table-node-static.d.ts.map +1 -1
- package/dist/components/ui/toc-node-static.d.ts +1 -1
- package/dist/components/ui/toc-node-static.d.ts.map +1 -1
- package/dist/components/ui/toggle-node-static.d.ts +1 -1
- package/dist/components/ui/toggle-node-static.d.ts.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +829 -12696
- package/dist/index.js.map +1 -1
- package/package.json +65 -65
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oyat/editor",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "A powerful, feature-rich Plate.js editor component with AI integration, collaboration features, and extensive customization options",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -17,16 +17,12 @@
|
|
|
17
17
|
"README.md"
|
|
18
18
|
],
|
|
19
19
|
"keywords": [
|
|
20
|
+
"oyat",
|
|
20
21
|
"plate",
|
|
21
22
|
"editor",
|
|
22
23
|
"rich-text",
|
|
23
|
-
"wysiwyg",
|
|
24
24
|
"react",
|
|
25
|
-
"typescript"
|
|
26
|
-
"slate",
|
|
27
|
-
"collaborative",
|
|
28
|
-
"ai",
|
|
29
|
-
"markdown"
|
|
25
|
+
"typescript"
|
|
30
26
|
],
|
|
31
27
|
"author": "OYAT <oyat.app@gmail.com>",
|
|
32
28
|
"license": "MIT",
|
|
@@ -48,18 +44,18 @@
|
|
|
48
44
|
"type-check": "tsc --noEmit"
|
|
49
45
|
},
|
|
50
46
|
"peerDependencies": {
|
|
51
|
-
"platejs": "^
|
|
47
|
+
"platejs": "^51.0.0",
|
|
52
48
|
"react": ">=18.0.0",
|
|
53
49
|
"react-dom": ">=18.0.0"
|
|
54
50
|
},
|
|
55
51
|
"peerDependenciesMeta": {
|
|
56
|
-
"
|
|
52
|
+
"platejs": {
|
|
57
53
|
"optional": false
|
|
58
54
|
},
|
|
59
|
-
"react
|
|
55
|
+
"react": {
|
|
60
56
|
"optional": false
|
|
61
57
|
},
|
|
62
|
-
"
|
|
58
|
+
"react-dom": {
|
|
63
59
|
"optional": false
|
|
64
60
|
}
|
|
65
61
|
},
|
|
@@ -68,49 +64,50 @@
|
|
|
68
64
|
"@ariakit/react": "^0.4.19",
|
|
69
65
|
"@emoji-mart/data": "1.2.1",
|
|
70
66
|
"@faker-js/faker": "^10.1.0",
|
|
71
|
-
"@platejs/ai": "^
|
|
72
|
-
"@platejs/autoformat": "^
|
|
73
|
-
"@platejs/basic-nodes": "^
|
|
74
|
-
"@platejs/basic-styles": "^
|
|
75
|
-
"@platejs/callout": "^
|
|
76
|
-
"@platejs/caption": "^
|
|
77
|
-
"@platejs/code-block": "^
|
|
78
|
-
"@platejs/combobox": "^
|
|
79
|
-
"@platejs/comment": "^
|
|
80
|
-
"@platejs/date": "^
|
|
81
|
-
"@platejs/diff": "^
|
|
82
|
-
"@platejs/dnd": "^
|
|
83
|
-
"@platejs/docx": "^
|
|
84
|
-
"@platejs/emoji": "^
|
|
85
|
-
"@platejs/excalidraw": "^
|
|
86
|
-
"@platejs/floating": "^
|
|
87
|
-
"@platejs/indent": "^
|
|
88
|
-
"@platejs/juice": "^
|
|
89
|
-
"@platejs/layout": "^
|
|
90
|
-
"@platejs/link": "^
|
|
91
|
-
"@platejs/list": "^
|
|
92
|
-
"@platejs/markdown": "^
|
|
93
|
-
"@platejs/math": "^
|
|
94
|
-
"@platejs/media": "^
|
|
95
|
-
"@platejs/mention": "^
|
|
96
|
-
"@platejs/resizable": "^
|
|
97
|
-
"@platejs/selection": "^
|
|
98
|
-
"@platejs/slash-command": "^
|
|
99
|
-
"@platejs/suggestion": "^
|
|
100
|
-
"@platejs/table": "^
|
|
101
|
-
"@platejs/toc": "^
|
|
102
|
-
"@platejs/toggle": "^
|
|
67
|
+
"@platejs/ai": "^51.0.1",
|
|
68
|
+
"@platejs/autoformat": "^51.0.0",
|
|
69
|
+
"@platejs/basic-nodes": "^51.0.0",
|
|
70
|
+
"@platejs/basic-styles": "^51.0.0",
|
|
71
|
+
"@platejs/callout": "^51.0.0",
|
|
72
|
+
"@platejs/caption": "^51.0.0",
|
|
73
|
+
"@platejs/code-block": "^51.0.0",
|
|
74
|
+
"@platejs/combobox": "^51.0.0",
|
|
75
|
+
"@platejs/comment": "^51.0.0",
|
|
76
|
+
"@platejs/date": "^51.0.0",
|
|
77
|
+
"@platejs/diff": "^51.0.0",
|
|
78
|
+
"@platejs/dnd": "^51.0.0",
|
|
79
|
+
"@platejs/docx": "^51.0.0",
|
|
80
|
+
"@platejs/emoji": "^51.0.0",
|
|
81
|
+
"@platejs/excalidraw": "^51.0.0",
|
|
82
|
+
"@platejs/floating": "^51.0.0",
|
|
83
|
+
"@platejs/indent": "^51.0.0",
|
|
84
|
+
"@platejs/juice": "^51.0.0",
|
|
85
|
+
"@platejs/layout": "^51.0.0",
|
|
86
|
+
"@platejs/link": "^51.0.0",
|
|
87
|
+
"@platejs/list": "^51.0.0",
|
|
88
|
+
"@platejs/markdown": "^51.0.0",
|
|
89
|
+
"@platejs/math": "^51.0.0",
|
|
90
|
+
"@platejs/media": "^51.0.0",
|
|
91
|
+
"@platejs/mention": "^51.0.0",
|
|
92
|
+
"@platejs/resizable": "^51.0.0",
|
|
93
|
+
"@platejs/selection": "^51.0.0",
|
|
94
|
+
"@platejs/slash-command": "^51.0.0",
|
|
95
|
+
"@platejs/suggestion": "^51.0.0",
|
|
96
|
+
"@platejs/table": "^51.0.0",
|
|
97
|
+
"@platejs/toc": "^51.0.0",
|
|
98
|
+
"@platejs/toggle": "^51.0.0",
|
|
103
99
|
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
104
|
-
"@radix-ui/react-avatar": "^1.1.
|
|
100
|
+
"@radix-ui/react-avatar": "^1.1.11",
|
|
105
101
|
"@radix-ui/react-checkbox": "^1.3.3",
|
|
106
102
|
"@radix-ui/react-context-menu": "^2.2.16",
|
|
107
103
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
108
104
|
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
109
105
|
"@radix-ui/react-popover": "^1.1.15",
|
|
110
|
-
"@radix-ui/react-separator": "^1.1.
|
|
111
|
-
"@radix-ui/react-slot": "^1.2.
|
|
106
|
+
"@radix-ui/react-separator": "^1.1.8",
|
|
107
|
+
"@radix-ui/react-slot": "^1.2.4",
|
|
112
108
|
"@radix-ui/react-toolbar": "^1.1.11",
|
|
113
109
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
110
|
+
"@tailwindcss/vite": "^4.1.17",
|
|
114
111
|
"@udecode/cn": "^49.0.15",
|
|
115
112
|
"@uploadthing/react": "7.3.3",
|
|
116
113
|
"ai": "5.0.28",
|
|
@@ -119,45 +116,48 @@
|
|
|
119
116
|
"cmdk": "^1.1.1",
|
|
120
117
|
"date-fns": "^4.1.0",
|
|
121
118
|
"dedent": "1.0.0",
|
|
122
|
-
"html2canvas-pro": "^1.5.
|
|
119
|
+
"html2canvas-pro": "^1.5.13",
|
|
123
120
|
"lodash": "^4.17.21",
|
|
124
121
|
"lowlight": "^3.3.0",
|
|
125
|
-
"lucide-react": "^0.
|
|
122
|
+
"lucide-react": "^0.554.0",
|
|
126
123
|
"pdf-lib": "^1.17.1",
|
|
124
|
+
"platejs": "^51.0.0",
|
|
125
|
+
"react": "^19.2.0",
|
|
127
126
|
"react-day-picker": "^9.11.1",
|
|
128
127
|
"react-dnd": "^16.0.1",
|
|
129
128
|
"react-dnd-html5-backend": "^16.0.1",
|
|
130
|
-
"react-
|
|
129
|
+
"react-dom": "^19.2.0",
|
|
130
|
+
"react-lite-youtube-embed": "^3.3.1",
|
|
131
131
|
"react-player": "3.3.1",
|
|
132
132
|
"react-textarea-autosize": "^8.5.9",
|
|
133
133
|
"react-tweet": "^3.2.2",
|
|
134
134
|
"remark-gfm": "^4.0.1",
|
|
135
135
|
"remark-math": "^6.0.0",
|
|
136
136
|
"sonner": "^2.0.7",
|
|
137
|
-
"tailwind-merge": "^3.
|
|
137
|
+
"tailwind-merge": "^3.4.0",
|
|
138
138
|
"tailwind-scrollbar-hide": "^4.0.0",
|
|
139
|
+
"tailwindcss": "^4.1.17",
|
|
139
140
|
"uploadthing": "7.7.4",
|
|
140
141
|
"use-file-picker": "2.1.2",
|
|
141
142
|
"zod": "^4.1.12"
|
|
142
143
|
},
|
|
143
144
|
"devDependencies": {
|
|
144
|
-
"@eslint/js": "^9.
|
|
145
|
-
"@
|
|
146
|
-
"@types/node": "^24.
|
|
147
|
-
"@types/react": "^19.
|
|
148
|
-
"@types/react-dom": "^19.
|
|
149
|
-
"@vitejs/plugin-react": "^5.0
|
|
150
|
-
"eslint": "^9.
|
|
151
|
-
"eslint-plugin-react-hooks": "^
|
|
152
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
153
|
-
"globals": "^16.
|
|
154
|
-
"
|
|
155
|
-
"terser": "^5.44.0",
|
|
145
|
+
"@eslint/js": "^9.39.1",
|
|
146
|
+
"@types/lodash": "^4.17.20",
|
|
147
|
+
"@types/node": "^24.10.0",
|
|
148
|
+
"@types/react": "^19.2.2",
|
|
149
|
+
"@types/react-dom": "^19.2.2",
|
|
150
|
+
"@vitejs/plugin-react": "^5.1.0",
|
|
151
|
+
"eslint": "^9.39.1",
|
|
152
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
153
|
+
"eslint-plugin-react-refresh": "^0.4.24",
|
|
154
|
+
"globals": "^16.5.0",
|
|
155
|
+
"terser": "^5.44.1",
|
|
156
156
|
"tw-animate-css": "^1.4.0",
|
|
157
157
|
"typescript": "~5.9.3",
|
|
158
|
-
"typescript-eslint": "^8.
|
|
159
|
-
"vite": "^7.
|
|
158
|
+
"typescript-eslint": "^8.46.3",
|
|
159
|
+
"vite": "^7.2.2",
|
|
160
160
|
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
161
|
-
"vite-plugin-dts": "^4.
|
|
161
|
+
"vite-plugin-dts": "^4.5.4"
|
|
162
162
|
}
|
|
163
163
|
}
|