payload-richtext-tiptap 0.0.150 → 0.0.152
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/src/fields/TiptapEditor/extensions/serverside/ServersideTiptapBody.d.ts +2 -1
- package/dist/src/fields/TiptapEditor/extensions/serverside/ServersideTiptapBody.d.ts.map +1 -1
- package/dist/src/fields/TiptapEditor/extensions/serverside/ServersideTiptapBody.js +3 -2
- package/dist/src/fields/TiptapEditor/extensions/serverside/ServersideTiptapBody.js.map +1 -1
- package/dist/src/fields/TiptapEditor/features/BlockEditor/BlockEditor.d.ts +3 -3
- package/dist/src/fields/TiptapEditor/features/BlockEditor/BlockEditor.d.ts.map +1 -1
- package/dist/src/fields/TiptapEditor/features/BlockEditor/BlockEditor.js +21 -20
- package/dist/src/fields/TiptapEditor/features/BlockEditor/BlockEditor.js.map +1 -1
- package/dist/src/fields/TiptapEditor/hooks/useBlockEditor.d.ts +4 -3
- package/dist/src/fields/TiptapEditor/hooks/useBlockEditor.d.ts.map +1 -1
- package/dist/src/fields/TiptapEditor/hooks/useBlockEditor.js +23 -23
- package/dist/src/fields/TiptapEditor/hooks/useBlockEditor.js.map +1 -1
- package/dist/src/fields/TiptapEditor/lib/tiptapSchema.d.ts +24 -24
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -23,17 +23,17 @@ export declare const JSONContentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
23
23
|
type?: string;
|
|
24
24
|
attrs?: Record<string, any>;
|
|
25
25
|
}[];
|
|
26
|
+
text?: string;
|
|
26
27
|
type?: string;
|
|
27
28
|
attrs?: Record<string, any>;
|
|
28
|
-
text?: string;
|
|
29
29
|
}, {
|
|
30
30
|
marks?: {
|
|
31
31
|
type?: string;
|
|
32
32
|
attrs?: Record<string, any>;
|
|
33
33
|
}[];
|
|
34
|
+
text?: string;
|
|
34
35
|
type?: string;
|
|
35
36
|
attrs?: Record<string, any>;
|
|
36
|
-
text?: string;
|
|
37
37
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
38
38
|
type: z.ZodString;
|
|
39
39
|
attrs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -58,17 +58,17 @@ export declare const JSONContentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
58
58
|
type?: string;
|
|
59
59
|
attrs?: Record<string, any>;
|
|
60
60
|
}[];
|
|
61
|
+
text?: string;
|
|
61
62
|
type?: string;
|
|
62
63
|
attrs?: Record<string, any>;
|
|
63
|
-
text?: string;
|
|
64
64
|
}, {
|
|
65
65
|
marks?: {
|
|
66
66
|
type?: string;
|
|
67
67
|
attrs?: Record<string, any>;
|
|
68
68
|
}[];
|
|
69
|
+
text?: string;
|
|
69
70
|
type?: string;
|
|
70
71
|
attrs?: Record<string, any>;
|
|
71
|
-
text?: string;
|
|
72
72
|
}>, z.ZodObject<{
|
|
73
73
|
type: z.ZodString;
|
|
74
74
|
attrs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -88,9 +88,9 @@ export declare const JSONContentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
88
88
|
type?: string;
|
|
89
89
|
attrs?: Record<string, any>;
|
|
90
90
|
}[];
|
|
91
|
+
text?: string;
|
|
91
92
|
type?: string;
|
|
92
93
|
attrs?: Record<string, any>;
|
|
93
|
-
text?: string;
|
|
94
94
|
})[];
|
|
95
95
|
type?: string;
|
|
96
96
|
attrs?: Record<string, any>;
|
|
@@ -103,9 +103,9 @@ export declare const JSONContentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
103
103
|
type?: string;
|
|
104
104
|
attrs?: Record<string, any>;
|
|
105
105
|
}[];
|
|
106
|
+
text?: string;
|
|
106
107
|
type?: string;
|
|
107
108
|
attrs?: Record<string, any>;
|
|
108
|
-
text?: string;
|
|
109
109
|
})[];
|
|
110
110
|
type?: string;
|
|
111
111
|
attrs?: Record<string, any>;
|
|
@@ -116,9 +116,9 @@ export declare const JSONContentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
116
116
|
type?: string;
|
|
117
117
|
attrs?: Record<string, any>;
|
|
118
118
|
}[];
|
|
119
|
+
text?: string;
|
|
119
120
|
type?: string;
|
|
120
121
|
attrs?: Record<string, any>;
|
|
121
|
-
text?: string;
|
|
122
122
|
} | {
|
|
123
123
|
content?: ({
|
|
124
124
|
type?: string;
|
|
@@ -128,9 +128,9 @@ export declare const JSONContentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
128
128
|
type?: string;
|
|
129
129
|
attrs?: Record<string, any>;
|
|
130
130
|
}[];
|
|
131
|
+
text?: string;
|
|
131
132
|
type?: string;
|
|
132
133
|
attrs?: Record<string, any>;
|
|
133
|
-
text?: string;
|
|
134
134
|
})[];
|
|
135
135
|
type?: string;
|
|
136
136
|
attrs?: Record<string, any>;
|
|
@@ -143,9 +143,9 @@ export declare const JSONContentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
143
143
|
type?: string;
|
|
144
144
|
attrs?: Record<string, any>;
|
|
145
145
|
}[];
|
|
146
|
+
text?: string;
|
|
146
147
|
type?: string;
|
|
147
148
|
attrs?: Record<string, any>;
|
|
148
|
-
text?: string;
|
|
149
149
|
} | {
|
|
150
150
|
content?: ({
|
|
151
151
|
type?: string;
|
|
@@ -155,9 +155,9 @@ export declare const JSONContentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
155
155
|
type?: string;
|
|
156
156
|
attrs?: Record<string, any>;
|
|
157
157
|
}[];
|
|
158
|
+
text?: string;
|
|
158
159
|
type?: string;
|
|
159
160
|
attrs?: Record<string, any>;
|
|
160
|
-
text?: string;
|
|
161
161
|
})[];
|
|
162
162
|
type?: string;
|
|
163
163
|
attrs?: Record<string, any>;
|
|
@@ -191,17 +191,17 @@ export declare const TiptapSchema: z.ZodObject<{
|
|
|
191
191
|
type?: string;
|
|
192
192
|
attrs?: Record<string, any>;
|
|
193
193
|
}[];
|
|
194
|
+
text?: string;
|
|
194
195
|
type?: string;
|
|
195
196
|
attrs?: Record<string, any>;
|
|
196
|
-
text?: string;
|
|
197
197
|
}, {
|
|
198
198
|
marks?: {
|
|
199
199
|
type?: string;
|
|
200
200
|
attrs?: Record<string, any>;
|
|
201
201
|
}[];
|
|
202
|
+
text?: string;
|
|
202
203
|
type?: string;
|
|
203
204
|
attrs?: Record<string, any>;
|
|
204
|
-
text?: string;
|
|
205
205
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
206
206
|
type: z.ZodString;
|
|
207
207
|
attrs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -226,17 +226,17 @@ export declare const TiptapSchema: z.ZodObject<{
|
|
|
226
226
|
type?: string;
|
|
227
227
|
attrs?: Record<string, any>;
|
|
228
228
|
}[];
|
|
229
|
+
text?: string;
|
|
229
230
|
type?: string;
|
|
230
231
|
attrs?: Record<string, any>;
|
|
231
|
-
text?: string;
|
|
232
232
|
}, {
|
|
233
233
|
marks?: {
|
|
234
234
|
type?: string;
|
|
235
235
|
attrs?: Record<string, any>;
|
|
236
236
|
}[];
|
|
237
|
+
text?: string;
|
|
237
238
|
type?: string;
|
|
238
239
|
attrs?: Record<string, any>;
|
|
239
|
-
text?: string;
|
|
240
240
|
}>, z.ZodObject<{
|
|
241
241
|
type: z.ZodString;
|
|
242
242
|
attrs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -256,9 +256,9 @@ export declare const TiptapSchema: z.ZodObject<{
|
|
|
256
256
|
type?: string;
|
|
257
257
|
attrs?: Record<string, any>;
|
|
258
258
|
}[];
|
|
259
|
+
text?: string;
|
|
259
260
|
type?: string;
|
|
260
261
|
attrs?: Record<string, any>;
|
|
261
|
-
text?: string;
|
|
262
262
|
})[];
|
|
263
263
|
type?: string;
|
|
264
264
|
attrs?: Record<string, any>;
|
|
@@ -271,9 +271,9 @@ export declare const TiptapSchema: z.ZodObject<{
|
|
|
271
271
|
type?: string;
|
|
272
272
|
attrs?: Record<string, any>;
|
|
273
273
|
}[];
|
|
274
|
+
text?: string;
|
|
274
275
|
type?: string;
|
|
275
276
|
attrs?: Record<string, any>;
|
|
276
|
-
text?: string;
|
|
277
277
|
})[];
|
|
278
278
|
type?: string;
|
|
279
279
|
attrs?: Record<string, any>;
|
|
@@ -284,9 +284,9 @@ export declare const TiptapSchema: z.ZodObject<{
|
|
|
284
284
|
type?: string;
|
|
285
285
|
attrs?: Record<string, any>;
|
|
286
286
|
}[];
|
|
287
|
+
text?: string;
|
|
287
288
|
type?: string;
|
|
288
289
|
attrs?: Record<string, any>;
|
|
289
|
-
text?: string;
|
|
290
290
|
} | {
|
|
291
291
|
content?: ({
|
|
292
292
|
type?: string;
|
|
@@ -296,9 +296,9 @@ export declare const TiptapSchema: z.ZodObject<{
|
|
|
296
296
|
type?: string;
|
|
297
297
|
attrs?: Record<string, any>;
|
|
298
298
|
}[];
|
|
299
|
+
text?: string;
|
|
299
300
|
type?: string;
|
|
300
301
|
attrs?: Record<string, any>;
|
|
301
|
-
text?: string;
|
|
302
302
|
})[];
|
|
303
303
|
type?: string;
|
|
304
304
|
attrs?: Record<string, any>;
|
|
@@ -311,9 +311,9 @@ export declare const TiptapSchema: z.ZodObject<{
|
|
|
311
311
|
type?: string;
|
|
312
312
|
attrs?: Record<string, any>;
|
|
313
313
|
}[];
|
|
314
|
+
text?: string;
|
|
314
315
|
type?: string;
|
|
315
316
|
attrs?: Record<string, any>;
|
|
316
|
-
text?: string;
|
|
317
317
|
} | {
|
|
318
318
|
content?: ({
|
|
319
319
|
type?: string;
|
|
@@ -323,9 +323,9 @@ export declare const TiptapSchema: z.ZodObject<{
|
|
|
323
323
|
type?: string;
|
|
324
324
|
attrs?: Record<string, any>;
|
|
325
325
|
}[];
|
|
326
|
+
text?: string;
|
|
326
327
|
type?: string;
|
|
327
328
|
attrs?: Record<string, any>;
|
|
328
|
-
text?: string;
|
|
329
329
|
})[];
|
|
330
330
|
type?: string;
|
|
331
331
|
attrs?: Record<string, any>;
|
|
@@ -340,9 +340,9 @@ export declare const TiptapSchema: z.ZodObject<{
|
|
|
340
340
|
type?: string;
|
|
341
341
|
attrs?: Record<string, any>;
|
|
342
342
|
}[];
|
|
343
|
+
text?: string;
|
|
343
344
|
type?: string;
|
|
344
345
|
attrs?: Record<string, any>;
|
|
345
|
-
text?: string;
|
|
346
346
|
} | {
|
|
347
347
|
content?: ({
|
|
348
348
|
type?: string;
|
|
@@ -352,9 +352,9 @@ export declare const TiptapSchema: z.ZodObject<{
|
|
|
352
352
|
type?: string;
|
|
353
353
|
attrs?: Record<string, any>;
|
|
354
354
|
}[];
|
|
355
|
+
text?: string;
|
|
355
356
|
type?: string;
|
|
356
357
|
attrs?: Record<string, any>;
|
|
357
|
-
text?: string;
|
|
358
358
|
})[];
|
|
359
359
|
type?: string;
|
|
360
360
|
attrs?: Record<string, any>;
|
|
@@ -370,9 +370,9 @@ export declare const TiptapSchema: z.ZodObject<{
|
|
|
370
370
|
type?: string;
|
|
371
371
|
attrs?: Record<string, any>;
|
|
372
372
|
}[];
|
|
373
|
+
text?: string;
|
|
373
374
|
type?: string;
|
|
374
375
|
attrs?: Record<string, any>;
|
|
375
|
-
text?: string;
|
|
376
376
|
} | {
|
|
377
377
|
content?: ({
|
|
378
378
|
type?: string;
|
|
@@ -382,9 +382,9 @@ export declare const TiptapSchema: z.ZodObject<{
|
|
|
382
382
|
type?: string;
|
|
383
383
|
attrs?: Record<string, any>;
|
|
384
384
|
}[];
|
|
385
|
+
text?: string;
|
|
385
386
|
type?: string;
|
|
386
387
|
attrs?: Record<string, any>;
|
|
387
|
-
text?: string;
|
|
388
388
|
})[];
|
|
389
389
|
type?: string;
|
|
390
390
|
attrs?: Record<string, any>;
|