payload-richtext-tiptap 0.0.122 → 0.0.123

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.
Files changed (104) hide show
  1. package/dist/src/fields/TiptapEditor/extensions/AudioBlock/AudioBlock.js.map +1 -1
  2. package/dist/src/fields/TiptapEditor/extensions/AudioBlock/components/AudioBlockMenu.js.map +1 -1
  3. package/dist/src/fields/TiptapEditor/extensions/AudioBlock/components/AudioBlockView.js +0 -1
  4. package/dist/src/fields/TiptapEditor/extensions/AudioBlock/components/AudioBlockView.js.map +1 -1
  5. package/dist/src/fields/TiptapEditor/extensions/FontSize/FontSize.js.map +1 -1
  6. package/dist/src/fields/TiptapEditor/extensions/Heading/Heading.js.map +1 -1
  7. package/dist/src/fields/TiptapEditor/extensions/ImageBlock/ImageBlock.js.map +1 -1
  8. package/dist/src/fields/TiptapEditor/extensions/ImageBlock/components/ImageBlockMenu.js.map +1 -1
  9. package/dist/src/fields/TiptapEditor/extensions/ImageBlock/components/ImageBlockView.d.ts.map +1 -1
  10. package/dist/src/fields/TiptapEditor/extensions/ImageBlock/components/ImageBlockView.js +0 -1
  11. package/dist/src/fields/TiptapEditor/extensions/ImageBlock/components/ImageBlockView.js.map +1 -1
  12. package/dist/src/fields/TiptapEditor/extensions/ImageUpload/view/ImageUploader.d.ts.map +1 -1
  13. package/dist/src/fields/TiptapEditor/extensions/ImageUpload/view/ImageUploader.js +0 -1
  14. package/dist/src/fields/TiptapEditor/extensions/ImageUpload/view/ImageUploader.js.map +1 -1
  15. package/dist/src/fields/TiptapEditor/extensions/InsideLinks/InsideLink.client.js.map +1 -1
  16. package/dist/src/fields/TiptapEditor/extensions/InsideLinks/InsideLinksComponent.d.ts.map +1 -1
  17. package/dist/src/fields/TiptapEditor/extensions/InsideLinks/InsideLinksComponent.js +0 -1
  18. package/dist/src/fields/TiptapEditor/extensions/InsideLinks/InsideLinksComponent.js.map +1 -1
  19. package/dist/src/fields/TiptapEditor/extensions/LinkPreview/LinkPreview.d.ts.map +1 -1
  20. package/dist/src/fields/TiptapEditor/extensions/LinkPreview/LinkPreview.js +1 -2
  21. package/dist/src/fields/TiptapEditor/extensions/LinkPreview/LinkPreview.js.map +1 -1
  22. package/dist/src/fields/TiptapEditor/extensions/MultiColumn/Columns.js +3 -3
  23. package/dist/src/fields/TiptapEditor/extensions/MultiColumn/Columns.js.map +1 -1
  24. package/dist/src/fields/TiptapEditor/extensions/MultiColumn/menus/ColumnsMenu.js.map +1 -1
  25. package/dist/src/fields/TiptapEditor/extensions/SlashCommand/MenuList.js.map +1 -1
  26. package/dist/src/fields/TiptapEditor/extensions/SocialMedia/SocialMediaEmbed.d.ts.map +1 -1
  27. package/dist/src/fields/TiptapEditor/extensions/SocialMedia/SocialMediaEmbed.js +0 -2
  28. package/dist/src/fields/TiptapEditor/extensions/SocialMedia/SocialMediaEmbed.js.map +1 -1
  29. package/dist/src/fields/TiptapEditor/extensions/SocialMedia/SocialMediaEmbedServerside.d.ts.map +1 -1
  30. package/dist/src/fields/TiptapEditor/extensions/SocialMedia/SocialMediaEmbedServerside.js +0 -1
  31. package/dist/src/fields/TiptapEditor/extensions/SocialMedia/SocialMediaEmbedServerside.js.map +1 -1
  32. package/dist/src/fields/TiptapEditor/extensions/VideoBlock/VideoBlock.js.map +1 -1
  33. package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/VideoBlockMenu.js.map +1 -1
  34. package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/VideoBlockView.js +0 -1
  35. package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/VideoBlockView.js.map +1 -1
  36. package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/VideoBlockViewClientside.js +1 -2
  37. package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/VideoBlockViewClientside.js.map +1 -1
  38. package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/videojs/quality-selector/events.d.ts.map +1 -1
  39. package/dist/src/fields/TiptapEditor/extensions/extension-kit.d.ts +1 -1
  40. package/dist/src/fields/TiptapEditor/extensions/serverside/EmbedContentInlineRenderer.js.map +1 -1
  41. package/dist/src/fields/TiptapEditor/extensions/serverside/EmbedContentSideRenderer.js.map +1 -1
  42. package/dist/src/fields/TiptapEditor/extensions/serverside/EmbedContentSidebarRenderer.js.map +1 -1
  43. package/dist/src/fields/TiptapEditor/extensions/serverside/FacebookServerside.js +1 -1
  44. package/dist/src/fields/TiptapEditor/extensions/serverside/FacebookServerside.js.map +1 -1
  45. package/dist/src/fields/TiptapEditor/extensions/serverside/InstagramServerside.js +1 -1
  46. package/dist/src/fields/TiptapEditor/extensions/serverside/InstagramServerside.js.map +1 -1
  47. package/dist/src/fields/TiptapEditor/extensions/serverside/LinkedinServerside.js +1 -1
  48. package/dist/src/fields/TiptapEditor/extensions/serverside/LinkedinServerside.js.map +1 -1
  49. package/dist/src/fields/TiptapEditor/extensions/serverside/RenderEmbedClientSide.js +1 -1
  50. package/dist/src/fields/TiptapEditor/extensions/serverside/RenderEmbedClientSide.js.map +1 -1
  51. package/dist/src/fields/TiptapEditor/extensions/serverside/TiktokServerside.js +1 -1
  52. package/dist/src/fields/TiptapEditor/extensions/serverside/TiktokServerside.js.map +1 -1
  53. package/dist/src/fields/TiptapEditor/extensions/serverside/TwitterBlockServerside.js +1 -1
  54. package/dist/src/fields/TiptapEditor/extensions/serverside/TwitterBlockServerside.js.map +1 -1
  55. package/dist/src/fields/TiptapEditor/extensions/serverside/YouTubeServerside.js +1 -1
  56. package/dist/src/fields/TiptapEditor/extensions/serverside/YouTubeServerside.js.map +1 -1
  57. package/dist/src/fields/TiptapEditor/features/menus/TextMenu/components/FontFamilyPicker.js.map +1 -1
  58. package/dist/src/fields/TiptapEditor/features/menus/TextMenu/components/FontSizePicker.js.map +1 -1
  59. package/dist/src/fields/TiptapEditor/features/panels/AICommandPanel/AICommandPanel.js.map +1 -1
  60. package/dist/src/fields/TiptapEditor/features/panels/AIEditorPanel/utils.js.map +1 -1
  61. package/dist/src/fields/TiptapEditor/hooks/useBlockEditor.js.map +1 -1
  62. package/dist/src/fields/TiptapEditor/lib/utils/cssVar.js.map +1 -1
  63. package/dist/src/index.d.ts +0 -1
  64. package/dist/src/index.d.ts.map +1 -1
  65. package/dist/src/index.js +0 -1
  66. package/dist/src/index.js.map +1 -1
  67. package/dist/tsconfig.tsbuildinfo +1 -1
  68. package/package.json +25 -28
  69. package/dist/src/fields/TiptapEditor/extensions/TableOfContentsNode/TableOfContentsNode.d.ts +0 -10
  70. package/dist/src/fields/TiptapEditor/extensions/TableOfContentsNode/TableOfContentsNode.d.ts.map +0 -1
  71. package/dist/src/fields/TiptapEditor/extensions/TableOfContentsNode/TableOfContentsNode.js +0 -55
  72. package/dist/src/fields/TiptapEditor/extensions/TableOfContentsNode/TableOfContentsNode.js.map +0 -1
  73. package/dist/src/fields/TiptapEditor/extensions/TableOfContentsNode/index.d.ts +0 -2
  74. package/dist/src/fields/TiptapEditor/extensions/TableOfContentsNode/index.d.ts.map +0 -1
  75. package/dist/src/fields/TiptapEditor/extensions/TableOfContentsNode/index.js +0 -3
  76. package/dist/src/fields/TiptapEditor/extensions/TableOfContentsNode/index.js.map +0 -1
  77. package/dist/src/fields/TiptapEditor/extensions/serverside/ContentEmbedSupport.d.ts +0 -4
  78. package/dist/src/fields/TiptapEditor/extensions/serverside/ContentEmbedSupport.d.ts.map +0 -1
  79. package/dist/src/fields/TiptapEditor/extensions/serverside/ContentEmbedSupport.js +0 -148
  80. package/dist/src/fields/TiptapEditor/extensions/serverside/ContentEmbedSupport.js.map +0 -1
  81. package/dist/src/fields/TiptapEditor/extensions/serverside/useAppendIdToClientsideBlocks.d.ts +0 -2
  82. package/dist/src/fields/TiptapEditor/extensions/serverside/useAppendIdToClientsideBlocks.d.ts.map +0 -1
  83. package/dist/src/fields/TiptapEditor/extensions/serverside/useAppendIdToClientsideBlocks.js +0 -35
  84. package/dist/src/fields/TiptapEditor/extensions/serverside/useAppendIdToClientsideBlocks.js.map +0 -1
  85. package/dist/src/fields/TiptapEditor/features/Sidebar/Sidebar.d.ts +0 -8
  86. package/dist/src/fields/TiptapEditor/features/Sidebar/Sidebar.d.ts.map +0 -1
  87. package/dist/src/fields/TiptapEditor/features/Sidebar/Sidebar.js +0 -32
  88. package/dist/src/fields/TiptapEditor/features/Sidebar/Sidebar.js.map +0 -1
  89. package/dist/src/fields/TiptapEditor/features/Sidebar/index.d.ts +0 -2
  90. package/dist/src/fields/TiptapEditor/features/Sidebar/index.d.ts.map +0 -1
  91. package/dist/src/fields/TiptapEditor/features/Sidebar/index.js +0 -3
  92. package/dist/src/fields/TiptapEditor/features/Sidebar/index.js.map +0 -1
  93. package/dist/src/fields/TiptapEditor/features/TableOfContents/TableOfContents.d.ts +0 -8
  94. package/dist/src/fields/TiptapEditor/features/TableOfContents/TableOfContents.d.ts.map +0 -1
  95. package/dist/src/fields/TiptapEditor/features/TableOfContents/TableOfContents.js +0 -57
  96. package/dist/src/fields/TiptapEditor/features/TableOfContents/TableOfContents.js.map +0 -1
  97. package/dist/src/fields/TiptapEditor/features/TableOfContents/index.d.ts +0 -2
  98. package/dist/src/fields/TiptapEditor/features/TableOfContents/index.d.ts.map +0 -1
  99. package/dist/src/fields/TiptapEditor/features/TableOfContents/index.js +0 -3
  100. package/dist/src/fields/TiptapEditor/features/TableOfContents/index.js.map +0 -1
  101. package/dist/src/fields/TiptapEditor/features/panels/AICommandPanel/tiptap.schema.d.ts +0 -847
  102. package/dist/src/fields/TiptapEditor/features/panels/AICommandPanel/tiptap.schema.d.ts.map +0 -1
  103. package/dist/src/fields/TiptapEditor/features/panels/AICommandPanel/tiptap.schema.js +0 -88
  104. package/dist/src/fields/TiptapEditor/features/panels/AICommandPanel/tiptap.schema.js.map +0 -1
@@ -1,847 +0,0 @@
1
- import { z } from "zod";
2
- declare const DocumentSchema: z.ZodObject<{
3
- type: z.ZodLiteral<"doc">;
4
- content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
5
- type: z.ZodLiteral<"paragraph">;
6
- attrs: z.ZodObject<{
7
- textAlign: z.ZodString;
8
- }, "strip", z.ZodTypeAny, {
9
- textAlign?: string;
10
- }, {
11
- textAlign?: string;
12
- }>;
13
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{
14
- type: z.ZodLiteral<"text">;
15
- text: z.ZodString;
16
- marks: z.ZodOptional<z.ZodArray<z.ZodObject<{
17
- type: z.ZodString;
18
- attrs: z.ZodOptional<z.ZodObject<{
19
- href: z.ZodOptional<z.ZodString>;
20
- target: z.ZodOptional<z.ZodString>;
21
- rel: z.ZodOptional<z.ZodString>;
22
- class: z.ZodOptional<z.ZodNull>;
23
- }, "strip", z.ZodTypeAny, {
24
- href?: string;
25
- target?: string;
26
- rel?: string;
27
- class?: null;
28
- }, {
29
- href?: string;
30
- target?: string;
31
- rel?: string;
32
- class?: null;
33
- }>>;
34
- }, "strip", z.ZodTypeAny, {
35
- type?: string;
36
- attrs?: {
37
- href?: string;
38
- target?: string;
39
- rel?: string;
40
- class?: null;
41
- };
42
- }, {
43
- type?: string;
44
- attrs?: {
45
- href?: string;
46
- target?: string;
47
- rel?: string;
48
- class?: null;
49
- };
50
- }>, "many">>;
51
- }, "strip", z.ZodTypeAny, {
52
- type?: "text";
53
- text?: string;
54
- marks?: {
55
- type?: string;
56
- attrs?: {
57
- href?: string;
58
- target?: string;
59
- rel?: string;
60
- class?: null;
61
- };
62
- }[];
63
- }, {
64
- type?: "text";
65
- text?: string;
66
- marks?: {
67
- type?: string;
68
- attrs?: {
69
- href?: string;
70
- target?: string;
71
- rel?: string;
72
- class?: null;
73
- };
74
- }[];
75
- }>, "many">>;
76
- }, "strip", z.ZodTypeAny, {
77
- type?: "paragraph";
78
- content?: {
79
- type?: "text";
80
- text?: string;
81
- marks?: {
82
- type?: string;
83
- attrs?: {
84
- href?: string;
85
- target?: string;
86
- rel?: string;
87
- class?: null;
88
- };
89
- }[];
90
- }[];
91
- attrs?: {
92
- textAlign?: string;
93
- };
94
- }, {
95
- type?: "paragraph";
96
- content?: {
97
- type?: "text";
98
- text?: string;
99
- marks?: {
100
- type?: string;
101
- attrs?: {
102
- href?: string;
103
- target?: string;
104
- rel?: string;
105
- class?: null;
106
- };
107
- }[];
108
- }[];
109
- attrs?: {
110
- textAlign?: string;
111
- };
112
- }>, z.ZodObject<{
113
- type: z.ZodLiteral<"heading">;
114
- attrs: z.ZodObject<{
115
- textAlign: z.ZodString;
116
- level: z.ZodNumber;
117
- }, "strip", z.ZodTypeAny, {
118
- textAlign?: string;
119
- level?: number;
120
- }, {
121
- textAlign?: string;
122
- level?: number;
123
- }>;
124
- content: z.ZodArray<z.ZodObject<{
125
- type: z.ZodLiteral<"text">;
126
- text: z.ZodString;
127
- marks: z.ZodOptional<z.ZodArray<z.ZodObject<{
128
- type: z.ZodString;
129
- attrs: z.ZodOptional<z.ZodObject<{
130
- href: z.ZodOptional<z.ZodString>;
131
- target: z.ZodOptional<z.ZodString>;
132
- rel: z.ZodOptional<z.ZodString>;
133
- class: z.ZodOptional<z.ZodNull>;
134
- }, "strip", z.ZodTypeAny, {
135
- href?: string;
136
- target?: string;
137
- rel?: string;
138
- class?: null;
139
- }, {
140
- href?: string;
141
- target?: string;
142
- rel?: string;
143
- class?: null;
144
- }>>;
145
- }, "strip", z.ZodTypeAny, {
146
- type?: string;
147
- attrs?: {
148
- href?: string;
149
- target?: string;
150
- rel?: string;
151
- class?: null;
152
- };
153
- }, {
154
- type?: string;
155
- attrs?: {
156
- href?: string;
157
- target?: string;
158
- rel?: string;
159
- class?: null;
160
- };
161
- }>, "many">>;
162
- }, "strip", z.ZodTypeAny, {
163
- type?: "text";
164
- text?: string;
165
- marks?: {
166
- type?: string;
167
- attrs?: {
168
- href?: string;
169
- target?: string;
170
- rel?: string;
171
- class?: null;
172
- };
173
- }[];
174
- }, {
175
- type?: "text";
176
- text?: string;
177
- marks?: {
178
- type?: string;
179
- attrs?: {
180
- href?: string;
181
- target?: string;
182
- rel?: string;
183
- class?: null;
184
- };
185
- }[];
186
- }>, "many">;
187
- }, "strip", z.ZodTypeAny, {
188
- type?: "heading";
189
- content?: {
190
- type?: "text";
191
- text?: string;
192
- marks?: {
193
- type?: string;
194
- attrs?: {
195
- href?: string;
196
- target?: string;
197
- rel?: string;
198
- class?: null;
199
- };
200
- }[];
201
- }[];
202
- attrs?: {
203
- textAlign?: string;
204
- level?: number;
205
- };
206
- }, {
207
- type?: "heading";
208
- content?: {
209
- type?: "text";
210
- text?: string;
211
- marks?: {
212
- type?: string;
213
- attrs?: {
214
- href?: string;
215
- target?: string;
216
- rel?: string;
217
- class?: null;
218
- };
219
- }[];
220
- }[];
221
- attrs?: {
222
- textAlign?: string;
223
- level?: number;
224
- };
225
- }>, z.ZodObject<{
226
- type: z.ZodLiteral<"blockquoteFigure">;
227
- content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
228
- type: z.ZodLiteral<"quote">;
229
- content: z.ZodArray<z.ZodObject<{
230
- type: z.ZodLiteral<"paragraph">;
231
- attrs: z.ZodObject<{
232
- textAlign: z.ZodString;
233
- }, "strip", z.ZodTypeAny, {
234
- textAlign?: string;
235
- }, {
236
- textAlign?: string;
237
- }>;
238
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{
239
- type: z.ZodLiteral<"text">;
240
- text: z.ZodString;
241
- marks: z.ZodOptional<z.ZodArray<z.ZodObject<{
242
- type: z.ZodString;
243
- attrs: z.ZodOptional<z.ZodObject<{
244
- href: z.ZodOptional<z.ZodString>;
245
- target: z.ZodOptional<z.ZodString>;
246
- rel: z.ZodOptional<z.ZodString>;
247
- class: z.ZodOptional<z.ZodNull>;
248
- }, "strip", z.ZodTypeAny, {
249
- href?: string;
250
- target?: string;
251
- rel?: string;
252
- class?: null;
253
- }, {
254
- href?: string;
255
- target?: string;
256
- rel?: string;
257
- class?: null;
258
- }>>;
259
- }, "strip", z.ZodTypeAny, {
260
- type?: string;
261
- attrs?: {
262
- href?: string;
263
- target?: string;
264
- rel?: string;
265
- class?: null;
266
- };
267
- }, {
268
- type?: string;
269
- attrs?: {
270
- href?: string;
271
- target?: string;
272
- rel?: string;
273
- class?: null;
274
- };
275
- }>, "many">>;
276
- }, "strip", z.ZodTypeAny, {
277
- type?: "text";
278
- text?: string;
279
- marks?: {
280
- type?: string;
281
- attrs?: {
282
- href?: string;
283
- target?: string;
284
- rel?: string;
285
- class?: null;
286
- };
287
- }[];
288
- }, {
289
- type?: "text";
290
- text?: string;
291
- marks?: {
292
- type?: string;
293
- attrs?: {
294
- href?: string;
295
- target?: string;
296
- rel?: string;
297
- class?: null;
298
- };
299
- }[];
300
- }>, "many">>;
301
- }, "strip", z.ZodTypeAny, {
302
- type?: "paragraph";
303
- content?: {
304
- type?: "text";
305
- text?: string;
306
- marks?: {
307
- type?: string;
308
- attrs?: {
309
- href?: string;
310
- target?: string;
311
- rel?: string;
312
- class?: null;
313
- };
314
- }[];
315
- }[];
316
- attrs?: {
317
- textAlign?: string;
318
- };
319
- }, {
320
- type?: "paragraph";
321
- content?: {
322
- type?: "text";
323
- text?: string;
324
- marks?: {
325
- type?: string;
326
- attrs?: {
327
- href?: string;
328
- target?: string;
329
- rel?: string;
330
- class?: null;
331
- };
332
- }[];
333
- }[];
334
- attrs?: {
335
- textAlign?: string;
336
- };
337
- }>, "many">;
338
- }, "strip", z.ZodTypeAny, {
339
- type?: "quote";
340
- content?: {
341
- type?: "paragraph";
342
- content?: {
343
- type?: "text";
344
- text?: string;
345
- marks?: {
346
- type?: string;
347
- attrs?: {
348
- href?: string;
349
- target?: string;
350
- rel?: string;
351
- class?: null;
352
- };
353
- }[];
354
- }[];
355
- attrs?: {
356
- textAlign?: string;
357
- };
358
- }[];
359
- }, {
360
- type?: "quote";
361
- content?: {
362
- type?: "paragraph";
363
- content?: {
364
- type?: "text";
365
- text?: string;
366
- marks?: {
367
- type?: string;
368
- attrs?: {
369
- href?: string;
370
- target?: string;
371
- rel?: string;
372
- class?: null;
373
- };
374
- }[];
375
- }[];
376
- attrs?: {
377
- textAlign?: string;
378
- };
379
- }[];
380
- }>, z.ZodObject<{
381
- type: z.ZodLiteral<"quoteCaption">;
382
- content: z.ZodArray<z.ZodObject<{
383
- type: z.ZodLiteral<"text">;
384
- text: z.ZodString;
385
- marks: z.ZodOptional<z.ZodArray<z.ZodObject<{
386
- type: z.ZodString;
387
- attrs: z.ZodOptional<z.ZodObject<{
388
- href: z.ZodOptional<z.ZodString>;
389
- target: z.ZodOptional<z.ZodString>;
390
- rel: z.ZodOptional<z.ZodString>;
391
- class: z.ZodOptional<z.ZodNull>;
392
- }, "strip", z.ZodTypeAny, {
393
- href?: string;
394
- target?: string;
395
- rel?: string;
396
- class?: null;
397
- }, {
398
- href?: string;
399
- target?: string;
400
- rel?: string;
401
- class?: null;
402
- }>>;
403
- }, "strip", z.ZodTypeAny, {
404
- type?: string;
405
- attrs?: {
406
- href?: string;
407
- target?: string;
408
- rel?: string;
409
- class?: null;
410
- };
411
- }, {
412
- type?: string;
413
- attrs?: {
414
- href?: string;
415
- target?: string;
416
- rel?: string;
417
- class?: null;
418
- };
419
- }>, "many">>;
420
- }, "strip", z.ZodTypeAny, {
421
- type?: "text";
422
- text?: string;
423
- marks?: {
424
- type?: string;
425
- attrs?: {
426
- href?: string;
427
- target?: string;
428
- rel?: string;
429
- class?: null;
430
- };
431
- }[];
432
- }, {
433
- type?: "text";
434
- text?: string;
435
- marks?: {
436
- type?: string;
437
- attrs?: {
438
- href?: string;
439
- target?: string;
440
- rel?: string;
441
- class?: null;
442
- };
443
- }[];
444
- }>, "many">;
445
- }, "strip", z.ZodTypeAny, {
446
- type?: "quoteCaption";
447
- content?: {
448
- type?: "text";
449
- text?: string;
450
- marks?: {
451
- type?: string;
452
- attrs?: {
453
- href?: string;
454
- target?: string;
455
- rel?: string;
456
- class?: null;
457
- };
458
- }[];
459
- }[];
460
- }, {
461
- type?: "quoteCaption";
462
- content?: {
463
- type?: "text";
464
- text?: string;
465
- marks?: {
466
- type?: string;
467
- attrs?: {
468
- href?: string;
469
- target?: string;
470
- rel?: string;
471
- class?: null;
472
- };
473
- }[];
474
- }[];
475
- }>]>, "many">;
476
- }, "strip", z.ZodTypeAny, {
477
- type?: "blockquoteFigure";
478
- content?: ({
479
- type?: "quote";
480
- content?: {
481
- type?: "paragraph";
482
- content?: {
483
- type?: "text";
484
- text?: string;
485
- marks?: {
486
- type?: string;
487
- attrs?: {
488
- href?: string;
489
- target?: string;
490
- rel?: string;
491
- class?: null;
492
- };
493
- }[];
494
- }[];
495
- attrs?: {
496
- textAlign?: string;
497
- };
498
- }[];
499
- } | {
500
- type?: "quoteCaption";
501
- content?: {
502
- type?: "text";
503
- text?: string;
504
- marks?: {
505
- type?: string;
506
- attrs?: {
507
- href?: string;
508
- target?: string;
509
- rel?: string;
510
- class?: null;
511
- };
512
- }[];
513
- }[];
514
- })[];
515
- }, {
516
- type?: "blockquoteFigure";
517
- content?: ({
518
- type?: "quote";
519
- content?: {
520
- type?: "paragraph";
521
- content?: {
522
- type?: "text";
523
- text?: string;
524
- marks?: {
525
- type?: string;
526
- attrs?: {
527
- href?: string;
528
- target?: string;
529
- rel?: string;
530
- class?: null;
531
- };
532
- }[];
533
- }[];
534
- attrs?: {
535
- textAlign?: string;
536
- };
537
- }[];
538
- } | {
539
- type?: "quoteCaption";
540
- content?: {
541
- type?: "text";
542
- text?: string;
543
- marks?: {
544
- type?: string;
545
- attrs?: {
546
- href?: string;
547
- target?: string;
548
- rel?: string;
549
- class?: null;
550
- };
551
- }[];
552
- }[];
553
- })[];
554
- }>, z.ZodObject<{
555
- type: z.ZodLiteral<"imageBlock">;
556
- attrs: z.ZodObject<{
557
- src: z.ZodString;
558
- width: z.ZodString;
559
- align: z.ZodString;
560
- alt: z.ZodString;
561
- caption: z.ZodString;
562
- }, "strip", z.ZodTypeAny, {
563
- src?: string;
564
- width?: string;
565
- align?: string;
566
- alt?: string;
567
- caption?: string;
568
- }, {
569
- src?: string;
570
- width?: string;
571
- align?: string;
572
- alt?: string;
573
- caption?: string;
574
- }>;
575
- }, "strip", z.ZodTypeAny, {
576
- type?: "imageBlock";
577
- attrs?: {
578
- src?: string;
579
- width?: string;
580
- align?: string;
581
- alt?: string;
582
- caption?: string;
583
- };
584
- }, {
585
- type?: "imageBlock";
586
- attrs?: {
587
- src?: string;
588
- width?: string;
589
- align?: string;
590
- alt?: string;
591
- caption?: string;
592
- };
593
- }>, z.ZodObject<{
594
- type: z.ZodLiteral<"imageUpload">;
595
- attrs: z.ZodObject<{
596
- type: z.ZodString;
597
- }, "strip", z.ZodTypeAny, {
598
- type?: string;
599
- }, {
600
- type?: string;
601
- }>;
602
- }, "strip", z.ZodTypeAny, {
603
- type?: "imageUpload";
604
- attrs?: {
605
- type?: string;
606
- };
607
- }, {
608
- type?: "imageUpload";
609
- attrs?: {
610
- type?: string;
611
- };
612
- }>, z.ZodObject<{
613
- type: z.ZodLiteral<"youtube">;
614
- attrs: z.ZodObject<{
615
- url: z.ZodString;
616
- class: z.ZodNull;
617
- }, "strip", z.ZodTypeAny, {
618
- class?: null;
619
- url?: string;
620
- }, {
621
- class?: null;
622
- url?: string;
623
- }>;
624
- }, "strip", z.ZodTypeAny, {
625
- type?: "youtube";
626
- attrs?: {
627
- class?: null;
628
- url?: string;
629
- };
630
- }, {
631
- type?: "youtube";
632
- attrs?: {
633
- class?: null;
634
- url?: string;
635
- };
636
- }>, z.ZodObject<{
637
- type: z.ZodLiteral<"horizontalRule">;
638
- }, "strip", z.ZodTypeAny, {
639
- type?: "horizontalRule";
640
- }, {
641
- type?: "horizontalRule";
642
- }>]>, "many">;
643
- }, "strip", z.ZodTypeAny, {
644
- type?: "doc";
645
- content?: ({
646
- type?: "paragraph";
647
- content?: {
648
- type?: "text";
649
- text?: string;
650
- marks?: {
651
- type?: string;
652
- attrs?: {
653
- href?: string;
654
- target?: string;
655
- rel?: string;
656
- class?: null;
657
- };
658
- }[];
659
- }[];
660
- attrs?: {
661
- textAlign?: string;
662
- };
663
- } | {
664
- type?: "heading";
665
- content?: {
666
- type?: "text";
667
- text?: string;
668
- marks?: {
669
- type?: string;
670
- attrs?: {
671
- href?: string;
672
- target?: string;
673
- rel?: string;
674
- class?: null;
675
- };
676
- }[];
677
- }[];
678
- attrs?: {
679
- textAlign?: string;
680
- level?: number;
681
- };
682
- } | {
683
- type?: "blockquoteFigure";
684
- content?: ({
685
- type?: "quote";
686
- content?: {
687
- type?: "paragraph";
688
- content?: {
689
- type?: "text";
690
- text?: string;
691
- marks?: {
692
- type?: string;
693
- attrs?: {
694
- href?: string;
695
- target?: string;
696
- rel?: string;
697
- class?: null;
698
- };
699
- }[];
700
- }[];
701
- attrs?: {
702
- textAlign?: string;
703
- };
704
- }[];
705
- } | {
706
- type?: "quoteCaption";
707
- content?: {
708
- type?: "text";
709
- text?: string;
710
- marks?: {
711
- type?: string;
712
- attrs?: {
713
- href?: string;
714
- target?: string;
715
- rel?: string;
716
- class?: null;
717
- };
718
- }[];
719
- }[];
720
- })[];
721
- } | {
722
- type?: "imageBlock";
723
- attrs?: {
724
- src?: string;
725
- width?: string;
726
- align?: string;
727
- alt?: string;
728
- caption?: string;
729
- };
730
- } | {
731
- type?: "imageUpload";
732
- attrs?: {
733
- type?: string;
734
- };
735
- } | {
736
- type?: "youtube";
737
- attrs?: {
738
- class?: null;
739
- url?: string;
740
- };
741
- } | {
742
- type?: "horizontalRule";
743
- })[];
744
- }, {
745
- type?: "doc";
746
- content?: ({
747
- type?: "paragraph";
748
- content?: {
749
- type?: "text";
750
- text?: string;
751
- marks?: {
752
- type?: string;
753
- attrs?: {
754
- href?: string;
755
- target?: string;
756
- rel?: string;
757
- class?: null;
758
- };
759
- }[];
760
- }[];
761
- attrs?: {
762
- textAlign?: string;
763
- };
764
- } | {
765
- type?: "heading";
766
- content?: {
767
- type?: "text";
768
- text?: string;
769
- marks?: {
770
- type?: string;
771
- attrs?: {
772
- href?: string;
773
- target?: string;
774
- rel?: string;
775
- class?: null;
776
- };
777
- }[];
778
- }[];
779
- attrs?: {
780
- textAlign?: string;
781
- level?: number;
782
- };
783
- } | {
784
- type?: "blockquoteFigure";
785
- content?: ({
786
- type?: "quote";
787
- content?: {
788
- type?: "paragraph";
789
- content?: {
790
- type?: "text";
791
- text?: string;
792
- marks?: {
793
- type?: string;
794
- attrs?: {
795
- href?: string;
796
- target?: string;
797
- rel?: string;
798
- class?: null;
799
- };
800
- }[];
801
- }[];
802
- attrs?: {
803
- textAlign?: string;
804
- };
805
- }[];
806
- } | {
807
- type?: "quoteCaption";
808
- content?: {
809
- type?: "text";
810
- text?: string;
811
- marks?: {
812
- type?: string;
813
- attrs?: {
814
- href?: string;
815
- target?: string;
816
- rel?: string;
817
- class?: null;
818
- };
819
- }[];
820
- }[];
821
- })[];
822
- } | {
823
- type?: "imageBlock";
824
- attrs?: {
825
- src?: string;
826
- width?: string;
827
- align?: string;
828
- alt?: string;
829
- caption?: string;
830
- };
831
- } | {
832
- type?: "imageUpload";
833
- attrs?: {
834
- type?: string;
835
- };
836
- } | {
837
- type?: "youtube";
838
- attrs?: {
839
- class?: null;
840
- url?: string;
841
- };
842
- } | {
843
- type?: "horizontalRule";
844
- })[];
845
- }>;
846
- export default DocumentSchema;
847
- //# sourceMappingURL=tiptap.schema.d.ts.map