payload-richtext-tiptap 0.0.145 → 0.0.147
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/MultiColumn/Columns.js +3 -3
- package/dist/src/fields/TiptapEditor/extensions/MultiColumn/Columns.js.map +1 -1
- package/dist/src/fields/TiptapEditor/extensions/TableOfContentsNode/TableOfContentsNode.d.ts +10 -0
- package/dist/src/fields/TiptapEditor/extensions/TableOfContentsNode/TableOfContentsNode.d.ts.map +1 -0
- package/dist/src/fields/TiptapEditor/extensions/TableOfContentsNode/TableOfContentsNode.js +55 -0
- package/dist/src/fields/TiptapEditor/extensions/TableOfContentsNode/TableOfContentsNode.js.map +1 -0
- package/dist/src/fields/TiptapEditor/extensions/TableOfContentsNode/index.d.ts +2 -0
- package/dist/src/fields/TiptapEditor/extensions/TableOfContentsNode/index.d.ts.map +1 -0
- package/dist/src/fields/TiptapEditor/extensions/TableOfContentsNode/index.js +3 -0
- package/dist/src/fields/TiptapEditor/extensions/TableOfContentsNode/index.js.map +1 -0
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/videojs/quality-selector/events.d.ts.map +1 -1
- package/dist/src/fields/TiptapEditor/extensions/error-boundary.d.ts +15 -0
- package/dist/src/fields/TiptapEditor/extensions/error-boundary.d.ts.map +1 -0
- package/dist/src/fields/TiptapEditor/extensions/error-boundary.js +35 -0
- package/dist/src/fields/TiptapEditor/extensions/error-boundary.js.map +1 -0
- package/dist/src/fields/TiptapEditor/extensions/extension-kit.d.ts +1 -1
- package/dist/src/fields/TiptapEditor/extensions/serverside/ServersideTiptapBody.js +1 -1
- package/dist/src/fields/TiptapEditor/extensions/serverside/ServersideTiptapBody.js.map +1 -1
- package/dist/src/fields/TiptapEditor/features/Sidebar/Sidebar.d.ts +8 -0
- package/dist/src/fields/TiptapEditor/features/Sidebar/Sidebar.d.ts.map +1 -0
- package/dist/src/fields/TiptapEditor/features/Sidebar/Sidebar.js +32 -0
- package/dist/src/fields/TiptapEditor/features/Sidebar/Sidebar.js.map +1 -0
- package/dist/src/fields/TiptapEditor/features/Sidebar/index.d.ts +2 -0
- package/dist/src/fields/TiptapEditor/features/Sidebar/index.d.ts.map +1 -0
- package/dist/src/fields/TiptapEditor/features/Sidebar/index.js +3 -0
- package/dist/src/fields/TiptapEditor/features/Sidebar/index.js.map +1 -0
- package/dist/src/fields/TiptapEditor/features/TableOfContents/TableOfContents.d.ts +8 -0
- package/dist/src/fields/TiptapEditor/features/TableOfContents/TableOfContents.d.ts.map +1 -0
- package/dist/src/fields/TiptapEditor/features/TableOfContents/TableOfContents.js +57 -0
- package/dist/src/fields/TiptapEditor/features/TableOfContents/TableOfContents.js.map +1 -0
- package/dist/src/fields/TiptapEditor/features/TableOfContents/index.d.ts +2 -0
- package/dist/src/fields/TiptapEditor/features/TableOfContents/index.d.ts.map +1 -0
- package/dist/src/fields/TiptapEditor/features/TableOfContents/index.js +3 -0
- package/dist/src/fields/TiptapEditor/features/TableOfContents/index.js.map +1 -0
- package/dist/src/fields/TiptapEditor/hooks/useBlockEditor.d.ts.map +1 -1
- package/dist/src/fields/TiptapEditor/hooks/useBlockEditor.js +1 -4
- package/dist/src/fields/TiptapEditor/hooks/useBlockEditor.js.map +1 -1
- package/dist/src/fields/TiptapEditor/lib/tiptapSchema.d.ts +68 -68
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +30 -26
|
@@ -19,21 +19,21 @@ export declare const JSONContentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
19
19
|
attrs?: Record<string, any>;
|
|
20
20
|
}>, "many">>;
|
|
21
21
|
}>, "strip", z.ZodTypeAny, {
|
|
22
|
+
type?: string;
|
|
23
|
+
attrs?: Record<string, any>;
|
|
22
24
|
text?: string;
|
|
23
25
|
marks?: {
|
|
24
26
|
type?: string;
|
|
25
27
|
attrs?: Record<string, any>;
|
|
26
28
|
}[];
|
|
29
|
+
}, {
|
|
27
30
|
type?: string;
|
|
28
31
|
attrs?: Record<string, any>;
|
|
29
|
-
}, {
|
|
30
32
|
text?: string;
|
|
31
33
|
marks?: {
|
|
32
34
|
type?: string;
|
|
33
35
|
attrs?: Record<string, any>;
|
|
34
36
|
}[];
|
|
35
|
-
type?: string;
|
|
36
|
-
attrs?: Record<string, any>;
|
|
37
37
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
38
38
|
type: z.ZodString;
|
|
39
39
|
attrs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -54,21 +54,21 @@ export declare const JSONContentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
54
54
|
attrs?: Record<string, any>;
|
|
55
55
|
}>, "many">>;
|
|
56
56
|
}>, "strip", z.ZodTypeAny, {
|
|
57
|
+
type?: string;
|
|
58
|
+
attrs?: Record<string, any>;
|
|
57
59
|
text?: string;
|
|
58
60
|
marks?: {
|
|
59
61
|
type?: string;
|
|
60
62
|
attrs?: Record<string, any>;
|
|
61
63
|
}[];
|
|
64
|
+
}, {
|
|
62
65
|
type?: string;
|
|
63
66
|
attrs?: Record<string, any>;
|
|
64
|
-
}, {
|
|
65
67
|
text?: string;
|
|
66
68
|
marks?: {
|
|
67
69
|
type?: string;
|
|
68
70
|
attrs?: Record<string, any>;
|
|
69
71
|
}[];
|
|
70
|
-
type?: string;
|
|
71
|
-
attrs?: Record<string, any>;
|
|
72
72
|
}>, z.ZodObject<{
|
|
73
73
|
type: z.ZodString;
|
|
74
74
|
attrs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -80,90 +80,90 @@ export declare const JSONContentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
80
80
|
attrs?: Record<string, any>;
|
|
81
81
|
}>]>, "many">>;
|
|
82
82
|
}>, "strip", z.ZodTypeAny, {
|
|
83
|
+
type?: string;
|
|
84
|
+
attrs?: Record<string, any>;
|
|
83
85
|
content?: ({
|
|
84
86
|
type?: string;
|
|
85
87
|
attrs?: Record<string, any>;
|
|
86
88
|
} | {
|
|
89
|
+
type?: string;
|
|
90
|
+
attrs?: Record<string, any>;
|
|
87
91
|
text?: string;
|
|
88
92
|
marks?: {
|
|
89
93
|
type?: string;
|
|
90
94
|
attrs?: Record<string, any>;
|
|
91
95
|
}[];
|
|
92
|
-
type?: string;
|
|
93
|
-
attrs?: Record<string, any>;
|
|
94
96
|
})[];
|
|
97
|
+
}, {
|
|
95
98
|
type?: string;
|
|
96
99
|
attrs?: Record<string, any>;
|
|
97
|
-
}, {
|
|
98
100
|
content?: ({
|
|
99
101
|
type?: string;
|
|
100
102
|
attrs?: Record<string, any>;
|
|
101
103
|
} | {
|
|
104
|
+
type?: string;
|
|
105
|
+
attrs?: Record<string, any>;
|
|
102
106
|
text?: string;
|
|
103
107
|
marks?: {
|
|
104
108
|
type?: string;
|
|
105
109
|
attrs?: Record<string, any>;
|
|
106
110
|
}[];
|
|
107
|
-
type?: string;
|
|
108
|
-
attrs?: Record<string, any>;
|
|
109
111
|
})[];
|
|
110
|
-
type?: string;
|
|
111
|
-
attrs?: Record<string, any>;
|
|
112
112
|
}>]>, "many">>;
|
|
113
113
|
}>, "strip", z.ZodTypeAny, {
|
|
114
|
+
type?: string;
|
|
115
|
+
attrs?: Record<string, any>;
|
|
114
116
|
content?: ({
|
|
117
|
+
type?: string;
|
|
118
|
+
attrs?: Record<string, any>;
|
|
115
119
|
text?: string;
|
|
116
120
|
marks?: {
|
|
117
121
|
type?: string;
|
|
118
122
|
attrs?: Record<string, any>;
|
|
119
123
|
}[];
|
|
124
|
+
} | {
|
|
120
125
|
type?: string;
|
|
121
126
|
attrs?: Record<string, any>;
|
|
122
|
-
} | {
|
|
123
127
|
content?: ({
|
|
124
128
|
type?: string;
|
|
125
129
|
attrs?: Record<string, any>;
|
|
126
130
|
} | {
|
|
131
|
+
type?: string;
|
|
132
|
+
attrs?: Record<string, any>;
|
|
127
133
|
text?: string;
|
|
128
134
|
marks?: {
|
|
129
135
|
type?: string;
|
|
130
136
|
attrs?: Record<string, any>;
|
|
131
137
|
}[];
|
|
132
|
-
type?: string;
|
|
133
|
-
attrs?: Record<string, any>;
|
|
134
138
|
})[];
|
|
135
|
-
type?: string;
|
|
136
|
-
attrs?: Record<string, any>;
|
|
137
139
|
})[];
|
|
140
|
+
}, {
|
|
138
141
|
type?: string;
|
|
139
142
|
attrs?: Record<string, any>;
|
|
140
|
-
}, {
|
|
141
143
|
content?: ({
|
|
144
|
+
type?: string;
|
|
145
|
+
attrs?: Record<string, any>;
|
|
142
146
|
text?: string;
|
|
143
147
|
marks?: {
|
|
144
148
|
type?: string;
|
|
145
149
|
attrs?: Record<string, any>;
|
|
146
150
|
}[];
|
|
151
|
+
} | {
|
|
147
152
|
type?: string;
|
|
148
153
|
attrs?: Record<string, any>;
|
|
149
|
-
} | {
|
|
150
154
|
content?: ({
|
|
151
155
|
type?: string;
|
|
152
156
|
attrs?: Record<string, any>;
|
|
153
157
|
} | {
|
|
158
|
+
type?: string;
|
|
159
|
+
attrs?: Record<string, any>;
|
|
154
160
|
text?: string;
|
|
155
161
|
marks?: {
|
|
156
162
|
type?: string;
|
|
157
163
|
attrs?: Record<string, any>;
|
|
158
164
|
}[];
|
|
159
|
-
type?: string;
|
|
160
|
-
attrs?: Record<string, any>;
|
|
161
165
|
})[];
|
|
162
|
-
type?: string;
|
|
163
|
-
attrs?: Record<string, any>;
|
|
164
166
|
})[];
|
|
165
|
-
type?: string;
|
|
166
|
-
attrs?: Record<string, any>;
|
|
167
167
|
}>;
|
|
168
168
|
export declare const TiptapSchema: z.ZodObject<{
|
|
169
169
|
type: z.ZodLiteral<"doc">;
|
|
@@ -187,21 +187,21 @@ export declare const TiptapSchema: z.ZodObject<{
|
|
|
187
187
|
attrs?: Record<string, any>;
|
|
188
188
|
}>, "many">>;
|
|
189
189
|
}>, "strip", z.ZodTypeAny, {
|
|
190
|
+
type?: string;
|
|
191
|
+
attrs?: Record<string, any>;
|
|
190
192
|
text?: string;
|
|
191
193
|
marks?: {
|
|
192
194
|
type?: string;
|
|
193
195
|
attrs?: Record<string, any>;
|
|
194
196
|
}[];
|
|
197
|
+
}, {
|
|
195
198
|
type?: string;
|
|
196
199
|
attrs?: Record<string, any>;
|
|
197
|
-
}, {
|
|
198
200
|
text?: string;
|
|
199
201
|
marks?: {
|
|
200
202
|
type?: string;
|
|
201
203
|
attrs?: Record<string, any>;
|
|
202
204
|
}[];
|
|
203
|
-
type?: string;
|
|
204
|
-
attrs?: Record<string, any>;
|
|
205
205
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
206
206
|
type: z.ZodString;
|
|
207
207
|
attrs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -222,21 +222,21 @@ export declare const TiptapSchema: z.ZodObject<{
|
|
|
222
222
|
attrs?: Record<string, any>;
|
|
223
223
|
}>, "many">>;
|
|
224
224
|
}>, "strip", z.ZodTypeAny, {
|
|
225
|
+
type?: string;
|
|
226
|
+
attrs?: Record<string, any>;
|
|
225
227
|
text?: string;
|
|
226
228
|
marks?: {
|
|
227
229
|
type?: string;
|
|
228
230
|
attrs?: Record<string, any>;
|
|
229
231
|
}[];
|
|
232
|
+
}, {
|
|
230
233
|
type?: string;
|
|
231
234
|
attrs?: Record<string, any>;
|
|
232
|
-
}, {
|
|
233
235
|
text?: string;
|
|
234
236
|
marks?: {
|
|
235
237
|
type?: string;
|
|
236
238
|
attrs?: Record<string, any>;
|
|
237
239
|
}[];
|
|
238
|
-
type?: string;
|
|
239
|
-
attrs?: Record<string, any>;
|
|
240
240
|
}>, z.ZodObject<{
|
|
241
241
|
type: z.ZodString;
|
|
242
242
|
attrs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -248,150 +248,150 @@ export declare const TiptapSchema: z.ZodObject<{
|
|
|
248
248
|
attrs?: Record<string, any>;
|
|
249
249
|
}>]>, "many">>;
|
|
250
250
|
}>, "strip", z.ZodTypeAny, {
|
|
251
|
+
type?: string;
|
|
252
|
+
attrs?: Record<string, any>;
|
|
251
253
|
content?: ({
|
|
252
254
|
type?: string;
|
|
253
255
|
attrs?: Record<string, any>;
|
|
254
256
|
} | {
|
|
257
|
+
type?: string;
|
|
258
|
+
attrs?: Record<string, any>;
|
|
255
259
|
text?: string;
|
|
256
260
|
marks?: {
|
|
257
261
|
type?: string;
|
|
258
262
|
attrs?: Record<string, any>;
|
|
259
263
|
}[];
|
|
260
|
-
type?: string;
|
|
261
|
-
attrs?: Record<string, any>;
|
|
262
264
|
})[];
|
|
265
|
+
}, {
|
|
263
266
|
type?: string;
|
|
264
267
|
attrs?: Record<string, any>;
|
|
265
|
-
}, {
|
|
266
268
|
content?: ({
|
|
267
269
|
type?: string;
|
|
268
270
|
attrs?: Record<string, any>;
|
|
269
271
|
} | {
|
|
272
|
+
type?: string;
|
|
273
|
+
attrs?: Record<string, any>;
|
|
270
274
|
text?: string;
|
|
271
275
|
marks?: {
|
|
272
276
|
type?: string;
|
|
273
277
|
attrs?: Record<string, any>;
|
|
274
278
|
}[];
|
|
275
|
-
type?: string;
|
|
276
|
-
attrs?: Record<string, any>;
|
|
277
279
|
})[];
|
|
278
|
-
type?: string;
|
|
279
|
-
attrs?: Record<string, any>;
|
|
280
280
|
}>]>, "many">>;
|
|
281
281
|
}>, "strip", z.ZodTypeAny, {
|
|
282
|
+
type?: string;
|
|
283
|
+
attrs?: Record<string, any>;
|
|
282
284
|
content?: ({
|
|
285
|
+
type?: string;
|
|
286
|
+
attrs?: Record<string, any>;
|
|
283
287
|
text?: string;
|
|
284
288
|
marks?: {
|
|
285
289
|
type?: string;
|
|
286
290
|
attrs?: Record<string, any>;
|
|
287
291
|
}[];
|
|
292
|
+
} | {
|
|
288
293
|
type?: string;
|
|
289
294
|
attrs?: Record<string, any>;
|
|
290
|
-
} | {
|
|
291
295
|
content?: ({
|
|
292
296
|
type?: string;
|
|
293
297
|
attrs?: Record<string, any>;
|
|
294
298
|
} | {
|
|
299
|
+
type?: string;
|
|
300
|
+
attrs?: Record<string, any>;
|
|
295
301
|
text?: string;
|
|
296
302
|
marks?: {
|
|
297
303
|
type?: string;
|
|
298
304
|
attrs?: Record<string, any>;
|
|
299
305
|
}[];
|
|
300
|
-
type?: string;
|
|
301
|
-
attrs?: Record<string, any>;
|
|
302
306
|
})[];
|
|
303
|
-
type?: string;
|
|
304
|
-
attrs?: Record<string, any>;
|
|
305
307
|
})[];
|
|
308
|
+
}, {
|
|
306
309
|
type?: string;
|
|
307
310
|
attrs?: Record<string, any>;
|
|
308
|
-
}, {
|
|
309
311
|
content?: ({
|
|
312
|
+
type?: string;
|
|
313
|
+
attrs?: Record<string, any>;
|
|
310
314
|
text?: string;
|
|
311
315
|
marks?: {
|
|
312
316
|
type?: string;
|
|
313
317
|
attrs?: Record<string, any>;
|
|
314
318
|
}[];
|
|
319
|
+
} | {
|
|
315
320
|
type?: string;
|
|
316
321
|
attrs?: Record<string, any>;
|
|
317
|
-
} | {
|
|
318
322
|
content?: ({
|
|
319
323
|
type?: string;
|
|
320
324
|
attrs?: Record<string, any>;
|
|
321
325
|
} | {
|
|
326
|
+
type?: string;
|
|
327
|
+
attrs?: Record<string, any>;
|
|
322
328
|
text?: string;
|
|
323
329
|
marks?: {
|
|
324
330
|
type?: string;
|
|
325
331
|
attrs?: Record<string, any>;
|
|
326
332
|
}[];
|
|
327
|
-
type?: string;
|
|
328
|
-
attrs?: Record<string, any>;
|
|
329
333
|
})[];
|
|
330
|
-
type?: string;
|
|
331
|
-
attrs?: Record<string, any>;
|
|
332
334
|
})[];
|
|
333
|
-
type?: string;
|
|
334
|
-
attrs?: Record<string, any>;
|
|
335
335
|
}>, "many">;
|
|
336
336
|
}, "strip", z.ZodTypeAny, {
|
|
337
|
+
type?: "doc";
|
|
337
338
|
content?: {
|
|
339
|
+
type?: string;
|
|
340
|
+
attrs?: Record<string, any>;
|
|
338
341
|
content?: ({
|
|
342
|
+
type?: string;
|
|
343
|
+
attrs?: Record<string, any>;
|
|
339
344
|
text?: string;
|
|
340
345
|
marks?: {
|
|
341
346
|
type?: string;
|
|
342
347
|
attrs?: Record<string, any>;
|
|
343
348
|
}[];
|
|
349
|
+
} | {
|
|
344
350
|
type?: string;
|
|
345
351
|
attrs?: Record<string, any>;
|
|
346
|
-
} | {
|
|
347
352
|
content?: ({
|
|
348
353
|
type?: string;
|
|
349
354
|
attrs?: Record<string, any>;
|
|
350
355
|
} | {
|
|
356
|
+
type?: string;
|
|
357
|
+
attrs?: Record<string, any>;
|
|
351
358
|
text?: string;
|
|
352
359
|
marks?: {
|
|
353
360
|
type?: string;
|
|
354
361
|
attrs?: Record<string, any>;
|
|
355
362
|
}[];
|
|
356
|
-
type?: string;
|
|
357
|
-
attrs?: Record<string, any>;
|
|
358
363
|
})[];
|
|
359
|
-
type?: string;
|
|
360
|
-
attrs?: Record<string, any>;
|
|
361
364
|
})[];
|
|
362
|
-
type?: string;
|
|
363
|
-
attrs?: Record<string, any>;
|
|
364
365
|
}[];
|
|
365
|
-
type?: "doc";
|
|
366
366
|
}, {
|
|
367
|
+
type?: "doc";
|
|
367
368
|
content?: {
|
|
369
|
+
type?: string;
|
|
370
|
+
attrs?: Record<string, any>;
|
|
368
371
|
content?: ({
|
|
372
|
+
type?: string;
|
|
373
|
+
attrs?: Record<string, any>;
|
|
369
374
|
text?: string;
|
|
370
375
|
marks?: {
|
|
371
376
|
type?: string;
|
|
372
377
|
attrs?: Record<string, any>;
|
|
373
378
|
}[];
|
|
379
|
+
} | {
|
|
374
380
|
type?: string;
|
|
375
381
|
attrs?: Record<string, any>;
|
|
376
|
-
} | {
|
|
377
382
|
content?: ({
|
|
378
383
|
type?: string;
|
|
379
384
|
attrs?: Record<string, any>;
|
|
380
385
|
} | {
|
|
386
|
+
type?: string;
|
|
387
|
+
attrs?: Record<string, any>;
|
|
381
388
|
text?: string;
|
|
382
389
|
marks?: {
|
|
383
390
|
type?: string;
|
|
384
391
|
attrs?: Record<string, any>;
|
|
385
392
|
}[];
|
|
386
|
-
type?: string;
|
|
387
|
-
attrs?: Record<string, any>;
|
|
388
393
|
})[];
|
|
389
|
-
type?: string;
|
|
390
|
-
attrs?: Record<string, any>;
|
|
391
394
|
})[];
|
|
392
|
-
type?: string;
|
|
393
|
-
attrs?: Record<string, any>;
|
|
394
395
|
}[];
|
|
395
|
-
type?: "doc";
|
|
396
396
|
}>;
|
|
397
397
|
//# sourceMappingURL=tiptapSchema.d.ts.map
|