@blocknote/xl-multi-column 0.19.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.
Files changed (78) hide show
  1. package/LICENSE +661 -0
  2. package/dist/blocknote-xl-multi-column.js +3038 -0
  3. package/dist/blocknote-xl-multi-column.js.map +1 -0
  4. package/dist/blocknote-xl-multi-column.umd.cjs +69 -0
  5. package/dist/blocknote-xl-multi-column.umd.cjs.map +1 -0
  6. package/dist/webpack-stats.json +1 -0
  7. package/package.json +80 -0
  8. package/src/blocks/Columns/index.ts +15 -0
  9. package/src/blocks/schema.ts +43 -0
  10. package/src/extensions/ColumnResize/ColumnResizeExtension.ts +357 -0
  11. package/src/extensions/DropCursor/MultiColumnDropCursorPlugin.ts +480 -0
  12. package/src/extensions/SuggestionMenu/getMultiColumnSlashMenuItems.tsx +105 -0
  13. package/src/i18n/dictionary.ts +27 -0
  14. package/src/i18n/locales/ar.ts +18 -0
  15. package/src/i18n/locales/de.ts +18 -0
  16. package/src/i18n/locales/en.ts +16 -0
  17. package/src/i18n/locales/es.ts +18 -0
  18. package/src/i18n/locales/fr.ts +18 -0
  19. package/src/i18n/locales/hr.ts +18 -0
  20. package/src/i18n/locales/index.ts +15 -0
  21. package/src/i18n/locales/is.ts +18 -0
  22. package/src/i18n/locales/ja.ts +18 -0
  23. package/src/i18n/locales/ko.ts +18 -0
  24. package/src/i18n/locales/nl.ts +18 -0
  25. package/src/i18n/locales/pl.ts +18 -0
  26. package/src/i18n/locales/pt.ts +18 -0
  27. package/src/i18n/locales/ru.ts +18 -0
  28. package/src/i18n/locales/vi.ts +18 -0
  29. package/src/i18n/locales/zh.ts +18 -0
  30. package/src/index.ts +7 -0
  31. package/src/pm-nodes/Column.ts +87 -0
  32. package/src/pm-nodes/ColumnList.ts +44 -0
  33. package/src/test/commands/__snapshots__/insertBlocks.test.ts.snap +757 -0
  34. package/src/test/commands/__snapshots__/textCursorPosition.test.ts.snap +169 -0
  35. package/src/test/commands/__snapshots__/updateBlock.test.ts.snap +964 -0
  36. package/src/test/commands/insertBlocks.test.ts +206 -0
  37. package/src/test/commands/textCursorPosition.test.ts +19 -0
  38. package/src/test/commands/updateBlock.test.ts +212 -0
  39. package/src/test/conversions/__snapshots__/multi-column/undefined/external.html +1 -0
  40. package/src/test/conversions/__snapshots__/multi-column/undefined/internal.html +1 -0
  41. package/src/test/conversions/__snapshots__/nodeConversion.test.ts.snap +118 -0
  42. package/src/test/conversions/htmlConversion.test.ts +100 -0
  43. package/src/test/conversions/nodeConversion.test.ts +84 -0
  44. package/src/test/conversions/testCases.ts +54 -0
  45. package/src/test/setupTestEnv.ts +99 -0
  46. package/src/vite-env.d.ts +1 -0
  47. package/types/src/blocks/Columns/index.d.ts +32 -0
  48. package/types/src/blocks/schema.d.ts +102 -0
  49. package/types/src/extensions/ColumnResize/ColumnResizeExtension.d.ts +3 -0
  50. package/types/src/extensions/DropCursor/MultiColumnDropCursorPlugin.d.ts +11 -0
  51. package/types/src/extensions/SuggestionMenu/getMultiColumnSlashMenuItems.d.ts +5 -0
  52. package/types/src/i18n/dictionary.d.ts +19 -0
  53. package/types/src/i18n/locales/ar.d.ts +2 -0
  54. package/types/src/i18n/locales/de.d.ts +2 -0
  55. package/types/src/i18n/locales/en.d.ts +16 -0
  56. package/types/src/i18n/locales/es.d.ts +2 -0
  57. package/types/src/i18n/locales/fr.d.ts +2 -0
  58. package/types/src/i18n/locales/hr.d.ts +2 -0
  59. package/types/src/i18n/locales/index.d.ts +15 -0
  60. package/types/src/i18n/locales/is.d.ts +2 -0
  61. package/types/src/i18n/locales/ja.d.ts +2 -0
  62. package/types/src/i18n/locales/ko.d.ts +2 -0
  63. package/types/src/i18n/locales/nl.d.ts +2 -0
  64. package/types/src/i18n/locales/pl.d.ts +2 -0
  65. package/types/src/i18n/locales/pt.d.ts +2 -0
  66. package/types/src/i18n/locales/ru.d.ts +2 -0
  67. package/types/src/i18n/locales/vi.d.ts +2 -0
  68. package/types/src/i18n/locales/zh.d.ts +2 -0
  69. package/types/src/index.d.ts +7 -0
  70. package/types/src/pm-nodes/Column.d.ts +6 -0
  71. package/types/src/pm-nodes/ColumnList.d.ts +6 -0
  72. package/types/src/test/commands/insertBlocks.test.d.ts +1 -0
  73. package/types/src/test/commands/textCursorPosition.test.d.ts +1 -0
  74. package/types/src/test/commands/updateBlock.test.d.ts +1 -0
  75. package/types/src/test/conversions/htmlConversion.test.d.ts +1 -0
  76. package/types/src/test/conversions/nodeConversion.test.d.ts +1 -0
  77. package/types/src/test/conversions/testCases.d.ts +3 -0
  78. package/types/src/test/setupTestEnv.d.ts +1041 -0
@@ -0,0 +1,1041 @@
1
+ import { BlockNoteEditor, BlockNoteSchema } from "@blocknote/core";
2
+ export declare const testEditorSchema: BlockNoteSchema<import("@blocknote/core").BlockSchemaFromSpecs<{
3
+ paragraph: {
4
+ config: {
5
+ type: "paragraph";
6
+ content: "inline";
7
+ propSchema: {
8
+ backgroundColor: {
9
+ default: "default";
10
+ };
11
+ textColor: {
12
+ default: "default";
13
+ };
14
+ textAlignment: {
15
+ default: "left";
16
+ values: readonly ["left", "center", "right", "justify"];
17
+ };
18
+ };
19
+ };
20
+ implementation: import("@blocknote/core").TiptapBlockImplementation<{
21
+ type: "paragraph";
22
+ content: "inline";
23
+ propSchema: {
24
+ backgroundColor: {
25
+ default: "default";
26
+ };
27
+ textColor: {
28
+ default: "default";
29
+ };
30
+ textAlignment: {
31
+ default: "left";
32
+ values: readonly ["left", "center", "right", "justify"];
33
+ };
34
+ };
35
+ }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
36
+ };
37
+ heading: {
38
+ config: {
39
+ type: "heading";
40
+ content: "inline";
41
+ propSchema: {
42
+ level: {
43
+ default: number;
44
+ values: readonly [1, 2, 3];
45
+ };
46
+ backgroundColor: {
47
+ default: "default";
48
+ };
49
+ textColor: {
50
+ default: "default";
51
+ };
52
+ textAlignment: {
53
+ default: "left";
54
+ values: readonly ["left", "center", "right", "justify"];
55
+ };
56
+ };
57
+ };
58
+ implementation: import("@blocknote/core").TiptapBlockImplementation<{
59
+ type: "heading";
60
+ content: "inline";
61
+ propSchema: {
62
+ level: {
63
+ default: number;
64
+ values: readonly [1, 2, 3];
65
+ };
66
+ backgroundColor: {
67
+ default: "default";
68
+ };
69
+ textColor: {
70
+ default: "default";
71
+ };
72
+ textAlignment: {
73
+ default: "left";
74
+ values: readonly ["left", "center", "right", "justify"];
75
+ };
76
+ };
77
+ }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
78
+ };
79
+ codeBlock: {
80
+ config: {
81
+ type: "codeBlock";
82
+ content: "inline";
83
+ propSchema: {
84
+ language: {
85
+ default: string;
86
+ values: string[];
87
+ };
88
+ };
89
+ };
90
+ implementation: import("@blocknote/core").TiptapBlockImplementation<{
91
+ type: "codeBlock";
92
+ content: "inline";
93
+ propSchema: {
94
+ language: {
95
+ default: string;
96
+ values: string[];
97
+ };
98
+ };
99
+ }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
100
+ };
101
+ bulletListItem: {
102
+ config: {
103
+ type: "bulletListItem";
104
+ content: "inline";
105
+ propSchema: {
106
+ backgroundColor: {
107
+ default: "default";
108
+ };
109
+ textColor: {
110
+ default: "default";
111
+ };
112
+ textAlignment: {
113
+ default: "left";
114
+ values: readonly ["left", "center", "right", "justify"];
115
+ };
116
+ };
117
+ };
118
+ implementation: import("@blocknote/core").TiptapBlockImplementation<{
119
+ type: "bulletListItem";
120
+ content: "inline";
121
+ propSchema: {
122
+ backgroundColor: {
123
+ default: "default";
124
+ };
125
+ textColor: {
126
+ default: "default";
127
+ };
128
+ textAlignment: {
129
+ default: "left";
130
+ values: readonly ["left", "center", "right", "justify"];
131
+ };
132
+ };
133
+ }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
134
+ };
135
+ numberedListItem: {
136
+ config: {
137
+ type: "numberedListItem";
138
+ content: "inline";
139
+ propSchema: {
140
+ backgroundColor: {
141
+ default: "default";
142
+ };
143
+ textColor: {
144
+ default: "default";
145
+ };
146
+ textAlignment: {
147
+ default: "left";
148
+ values: readonly ["left", "center", "right", "justify"];
149
+ };
150
+ };
151
+ };
152
+ implementation: import("@blocknote/core").TiptapBlockImplementation<{
153
+ type: "numberedListItem";
154
+ content: "inline";
155
+ propSchema: {
156
+ backgroundColor: {
157
+ default: "default";
158
+ };
159
+ textColor: {
160
+ default: "default";
161
+ };
162
+ textAlignment: {
163
+ default: "left";
164
+ values: readonly ["left", "center", "right", "justify"];
165
+ };
166
+ };
167
+ }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
168
+ };
169
+ checkListItem: {
170
+ config: {
171
+ type: "checkListItem";
172
+ content: "inline";
173
+ propSchema: {
174
+ checked: {
175
+ default: false;
176
+ };
177
+ backgroundColor: {
178
+ default: "default";
179
+ };
180
+ textColor: {
181
+ default: "default";
182
+ };
183
+ textAlignment: {
184
+ default: "left";
185
+ values: readonly ["left", "center", "right", "justify"];
186
+ };
187
+ };
188
+ };
189
+ implementation: import("@blocknote/core").TiptapBlockImplementation<{
190
+ type: "checkListItem";
191
+ content: "inline";
192
+ propSchema: {
193
+ checked: {
194
+ default: false;
195
+ };
196
+ backgroundColor: {
197
+ default: "default";
198
+ };
199
+ textColor: {
200
+ default: "default";
201
+ };
202
+ textAlignment: {
203
+ default: "left";
204
+ values: readonly ["left", "center", "right", "justify"];
205
+ };
206
+ };
207
+ }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
208
+ };
209
+ table: {
210
+ config: {
211
+ type: "table";
212
+ content: "table";
213
+ propSchema: {
214
+ backgroundColor: {
215
+ default: "default";
216
+ };
217
+ textColor: {
218
+ default: "default";
219
+ };
220
+ };
221
+ };
222
+ implementation: import("@blocknote/core").TiptapBlockImplementation<{
223
+ type: "table";
224
+ content: "table";
225
+ propSchema: {
226
+ backgroundColor: {
227
+ default: "default";
228
+ };
229
+ textColor: {
230
+ default: "default";
231
+ };
232
+ };
233
+ }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
234
+ };
235
+ file: {
236
+ config: {
237
+ type: "file";
238
+ propSchema: {
239
+ backgroundColor: {
240
+ default: "default";
241
+ };
242
+ name: {
243
+ default: "";
244
+ };
245
+ url: {
246
+ default: "";
247
+ };
248
+ caption: {
249
+ default: "";
250
+ };
251
+ };
252
+ content: "none";
253
+ isFileBlock: true;
254
+ };
255
+ implementation: import("@blocknote/core").TiptapBlockImplementation<{
256
+ type: "file";
257
+ propSchema: {
258
+ backgroundColor: {
259
+ default: "default";
260
+ };
261
+ name: {
262
+ default: "";
263
+ };
264
+ url: {
265
+ default: "";
266
+ };
267
+ caption: {
268
+ default: "";
269
+ };
270
+ };
271
+ content: "none";
272
+ isFileBlock: true;
273
+ }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
274
+ };
275
+ image: {
276
+ config: {
277
+ type: "image";
278
+ propSchema: {
279
+ textAlignment: {
280
+ default: "left";
281
+ values: readonly ["left", "center", "right", "justify"];
282
+ };
283
+ backgroundColor: {
284
+ default: "default";
285
+ };
286
+ name: {
287
+ default: "";
288
+ };
289
+ url: {
290
+ default: "";
291
+ };
292
+ caption: {
293
+ default: "";
294
+ };
295
+ showPreview: {
296
+ default: true;
297
+ };
298
+ previewWidth: {
299
+ default: number;
300
+ };
301
+ };
302
+ content: "none";
303
+ isFileBlock: true;
304
+ fileBlockAccept: string[];
305
+ };
306
+ implementation: import("@blocknote/core").TiptapBlockImplementation<{
307
+ type: "image";
308
+ propSchema: {
309
+ textAlignment: {
310
+ default: "left";
311
+ values: readonly ["left", "center", "right", "justify"];
312
+ };
313
+ backgroundColor: {
314
+ default: "default";
315
+ };
316
+ name: {
317
+ default: "";
318
+ };
319
+ url: {
320
+ default: "";
321
+ };
322
+ caption: {
323
+ default: "";
324
+ };
325
+ showPreview: {
326
+ default: true;
327
+ };
328
+ previewWidth: {
329
+ default: number;
330
+ };
331
+ };
332
+ content: "none";
333
+ isFileBlock: true;
334
+ fileBlockAccept: string[];
335
+ }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
336
+ };
337
+ video: {
338
+ config: {
339
+ type: "video";
340
+ propSchema: {
341
+ textAlignment: {
342
+ default: "left";
343
+ values: readonly ["left", "center", "right", "justify"];
344
+ };
345
+ backgroundColor: {
346
+ default: "default";
347
+ };
348
+ name: {
349
+ default: "";
350
+ };
351
+ url: {
352
+ default: "";
353
+ };
354
+ caption: {
355
+ default: "";
356
+ };
357
+ showPreview: {
358
+ default: true;
359
+ };
360
+ previewWidth: {
361
+ default: number;
362
+ };
363
+ };
364
+ content: "none";
365
+ isFileBlock: true;
366
+ fileBlockAccept: string[];
367
+ };
368
+ implementation: import("@blocknote/core").TiptapBlockImplementation<{
369
+ type: "video";
370
+ propSchema: {
371
+ textAlignment: {
372
+ default: "left";
373
+ values: readonly ["left", "center", "right", "justify"];
374
+ };
375
+ backgroundColor: {
376
+ default: "default";
377
+ };
378
+ name: {
379
+ default: "";
380
+ };
381
+ url: {
382
+ default: "";
383
+ };
384
+ caption: {
385
+ default: "";
386
+ };
387
+ showPreview: {
388
+ default: true;
389
+ };
390
+ previewWidth: {
391
+ default: number;
392
+ };
393
+ };
394
+ content: "none";
395
+ isFileBlock: true;
396
+ fileBlockAccept: string[];
397
+ }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
398
+ };
399
+ audio: {
400
+ config: {
401
+ type: "audio";
402
+ propSchema: {
403
+ backgroundColor: {
404
+ default: "default";
405
+ };
406
+ name: {
407
+ default: "";
408
+ };
409
+ url: {
410
+ default: "";
411
+ };
412
+ caption: {
413
+ default: "";
414
+ };
415
+ showPreview: {
416
+ default: true;
417
+ };
418
+ };
419
+ content: "none";
420
+ isFileBlock: true;
421
+ fileBlockAccept: string[];
422
+ };
423
+ implementation: import("@blocknote/core").TiptapBlockImplementation<{
424
+ type: "audio";
425
+ propSchema: {
426
+ backgroundColor: {
427
+ default: "default";
428
+ };
429
+ name: {
430
+ default: "";
431
+ };
432
+ url: {
433
+ default: "";
434
+ };
435
+ caption: {
436
+ default: "";
437
+ };
438
+ showPreview: {
439
+ default: true;
440
+ };
441
+ };
442
+ content: "none";
443
+ isFileBlock: true;
444
+ fileBlockAccept: string[];
445
+ }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
446
+ };
447
+ }> & {
448
+ column: {
449
+ type: "column";
450
+ content: "none";
451
+ propSchema: {
452
+ width: {
453
+ default: number;
454
+ };
455
+ };
456
+ };
457
+ columnList: {
458
+ type: "columnList";
459
+ content: "none";
460
+ propSchema: {};
461
+ };
462
+ }, import("@blocknote/core").InlineContentSchemaFromSpecs<{
463
+ text: {
464
+ config: "text";
465
+ implementation: any;
466
+ };
467
+ link: {
468
+ config: "link";
469
+ implementation: any;
470
+ };
471
+ }>, import("@blocknote/core").StyleSchemaFromSpecs<{
472
+ bold: {
473
+ config: {
474
+ type: string;
475
+ propSchema: "boolean";
476
+ };
477
+ implementation: import("@blocknote/core").StyleImplementation;
478
+ };
479
+ italic: {
480
+ config: {
481
+ type: string;
482
+ propSchema: "boolean";
483
+ };
484
+ implementation: import("@blocknote/core").StyleImplementation;
485
+ };
486
+ underline: {
487
+ config: {
488
+ type: string;
489
+ propSchema: "boolean";
490
+ };
491
+ implementation: import("@blocknote/core").StyleImplementation;
492
+ };
493
+ strike: {
494
+ config: {
495
+ type: string;
496
+ propSchema: "boolean";
497
+ };
498
+ implementation: import("@blocknote/core").StyleImplementation;
499
+ };
500
+ code: {
501
+ config: {
502
+ type: string;
503
+ propSchema: "boolean";
504
+ };
505
+ implementation: import("@blocknote/core").StyleImplementation;
506
+ };
507
+ textColor: {
508
+ config: {
509
+ type: string;
510
+ propSchema: "string";
511
+ };
512
+ implementation: import("@blocknote/core").StyleImplementation;
513
+ };
514
+ backgroundColor: {
515
+ config: {
516
+ type: string;
517
+ propSchema: "string";
518
+ };
519
+ implementation: import("@blocknote/core").StyleImplementation;
520
+ };
521
+ }>>;
522
+ export declare function setupTestEnv(): () => BlockNoteEditor<import("@blocknote/core").BlockSchemaFromSpecs<{
523
+ paragraph: {
524
+ config: {
525
+ type: "paragraph";
526
+ content: "inline";
527
+ propSchema: {
528
+ backgroundColor: {
529
+ default: "default";
530
+ };
531
+ textColor: {
532
+ default: "default";
533
+ };
534
+ textAlignment: {
535
+ default: "left";
536
+ values: readonly ["left", "center", "right", "justify"];
537
+ };
538
+ };
539
+ };
540
+ implementation: import("@blocknote/core").TiptapBlockImplementation<{
541
+ type: "paragraph";
542
+ content: "inline";
543
+ propSchema: {
544
+ backgroundColor: {
545
+ default: "default";
546
+ };
547
+ textColor: {
548
+ default: "default";
549
+ };
550
+ textAlignment: {
551
+ default: "left";
552
+ values: readonly ["left", "center", "right", "justify"];
553
+ };
554
+ };
555
+ }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
556
+ };
557
+ heading: {
558
+ config: {
559
+ type: "heading";
560
+ content: "inline";
561
+ propSchema: {
562
+ level: {
563
+ default: number;
564
+ values: readonly [1, 2, 3];
565
+ };
566
+ backgroundColor: {
567
+ default: "default";
568
+ };
569
+ textColor: {
570
+ default: "default";
571
+ };
572
+ textAlignment: {
573
+ default: "left";
574
+ values: readonly ["left", "center", "right", "justify"];
575
+ };
576
+ };
577
+ };
578
+ implementation: import("@blocknote/core").TiptapBlockImplementation<{
579
+ type: "heading";
580
+ content: "inline";
581
+ propSchema: {
582
+ level: {
583
+ default: number;
584
+ values: readonly [1, 2, 3];
585
+ };
586
+ backgroundColor: {
587
+ default: "default";
588
+ };
589
+ textColor: {
590
+ default: "default";
591
+ };
592
+ textAlignment: {
593
+ default: "left";
594
+ values: readonly ["left", "center", "right", "justify"];
595
+ };
596
+ };
597
+ }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
598
+ };
599
+ codeBlock: {
600
+ config: {
601
+ type: "codeBlock";
602
+ content: "inline";
603
+ propSchema: {
604
+ language: {
605
+ default: string;
606
+ values: string[];
607
+ };
608
+ };
609
+ };
610
+ implementation: import("@blocknote/core").TiptapBlockImplementation<{
611
+ type: "codeBlock";
612
+ content: "inline";
613
+ propSchema: {
614
+ language: {
615
+ default: string;
616
+ values: string[];
617
+ };
618
+ };
619
+ }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
620
+ };
621
+ bulletListItem: {
622
+ config: {
623
+ type: "bulletListItem";
624
+ content: "inline";
625
+ propSchema: {
626
+ backgroundColor: {
627
+ default: "default";
628
+ };
629
+ textColor: {
630
+ default: "default";
631
+ };
632
+ textAlignment: {
633
+ default: "left";
634
+ values: readonly ["left", "center", "right", "justify"];
635
+ };
636
+ };
637
+ };
638
+ implementation: import("@blocknote/core").TiptapBlockImplementation<{
639
+ type: "bulletListItem";
640
+ content: "inline";
641
+ propSchema: {
642
+ backgroundColor: {
643
+ default: "default";
644
+ };
645
+ textColor: {
646
+ default: "default";
647
+ };
648
+ textAlignment: {
649
+ default: "left";
650
+ values: readonly ["left", "center", "right", "justify"];
651
+ };
652
+ };
653
+ }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
654
+ };
655
+ numberedListItem: {
656
+ config: {
657
+ type: "numberedListItem";
658
+ content: "inline";
659
+ propSchema: {
660
+ backgroundColor: {
661
+ default: "default";
662
+ };
663
+ textColor: {
664
+ default: "default";
665
+ };
666
+ textAlignment: {
667
+ default: "left";
668
+ values: readonly ["left", "center", "right", "justify"];
669
+ };
670
+ };
671
+ };
672
+ implementation: import("@blocknote/core").TiptapBlockImplementation<{
673
+ type: "numberedListItem";
674
+ content: "inline";
675
+ propSchema: {
676
+ backgroundColor: {
677
+ default: "default";
678
+ };
679
+ textColor: {
680
+ default: "default";
681
+ };
682
+ textAlignment: {
683
+ default: "left";
684
+ values: readonly ["left", "center", "right", "justify"];
685
+ };
686
+ };
687
+ }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
688
+ };
689
+ checkListItem: {
690
+ config: {
691
+ type: "checkListItem";
692
+ content: "inline";
693
+ propSchema: {
694
+ checked: {
695
+ default: false;
696
+ };
697
+ backgroundColor: {
698
+ default: "default";
699
+ };
700
+ textColor: {
701
+ default: "default";
702
+ };
703
+ textAlignment: {
704
+ default: "left";
705
+ values: readonly ["left", "center", "right", "justify"];
706
+ };
707
+ };
708
+ };
709
+ implementation: import("@blocknote/core").TiptapBlockImplementation<{
710
+ type: "checkListItem";
711
+ content: "inline";
712
+ propSchema: {
713
+ checked: {
714
+ default: false;
715
+ };
716
+ backgroundColor: {
717
+ default: "default";
718
+ };
719
+ textColor: {
720
+ default: "default";
721
+ };
722
+ textAlignment: {
723
+ default: "left";
724
+ values: readonly ["left", "center", "right", "justify"];
725
+ };
726
+ };
727
+ }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
728
+ };
729
+ table: {
730
+ config: {
731
+ type: "table";
732
+ content: "table";
733
+ propSchema: {
734
+ backgroundColor: {
735
+ default: "default";
736
+ };
737
+ textColor: {
738
+ default: "default";
739
+ };
740
+ };
741
+ };
742
+ implementation: import("@blocknote/core").TiptapBlockImplementation<{
743
+ type: "table";
744
+ content: "table";
745
+ propSchema: {
746
+ backgroundColor: {
747
+ default: "default";
748
+ };
749
+ textColor: {
750
+ default: "default";
751
+ };
752
+ };
753
+ }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
754
+ };
755
+ file: {
756
+ config: {
757
+ type: "file";
758
+ propSchema: {
759
+ backgroundColor: {
760
+ default: "default";
761
+ };
762
+ name: {
763
+ default: "";
764
+ };
765
+ url: {
766
+ default: "";
767
+ };
768
+ caption: {
769
+ default: "";
770
+ };
771
+ };
772
+ content: "none";
773
+ isFileBlock: true;
774
+ };
775
+ implementation: import("@blocknote/core").TiptapBlockImplementation<{
776
+ type: "file";
777
+ propSchema: {
778
+ backgroundColor: {
779
+ default: "default";
780
+ };
781
+ name: {
782
+ default: "";
783
+ };
784
+ url: {
785
+ default: "";
786
+ };
787
+ caption: {
788
+ default: "";
789
+ };
790
+ };
791
+ content: "none";
792
+ isFileBlock: true;
793
+ }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
794
+ };
795
+ image: {
796
+ config: {
797
+ type: "image";
798
+ propSchema: {
799
+ textAlignment: {
800
+ default: "left";
801
+ values: readonly ["left", "center", "right", "justify"];
802
+ };
803
+ backgroundColor: {
804
+ default: "default";
805
+ };
806
+ name: {
807
+ default: "";
808
+ };
809
+ url: {
810
+ default: "";
811
+ };
812
+ caption: {
813
+ default: "";
814
+ };
815
+ showPreview: {
816
+ default: true;
817
+ };
818
+ previewWidth: {
819
+ default: number;
820
+ };
821
+ };
822
+ content: "none";
823
+ isFileBlock: true;
824
+ fileBlockAccept: string[];
825
+ };
826
+ implementation: import("@blocknote/core").TiptapBlockImplementation<{
827
+ type: "image";
828
+ propSchema: {
829
+ textAlignment: {
830
+ default: "left";
831
+ values: readonly ["left", "center", "right", "justify"];
832
+ };
833
+ backgroundColor: {
834
+ default: "default";
835
+ };
836
+ name: {
837
+ default: "";
838
+ };
839
+ url: {
840
+ default: "";
841
+ };
842
+ caption: {
843
+ default: "";
844
+ };
845
+ showPreview: {
846
+ default: true;
847
+ };
848
+ previewWidth: {
849
+ default: number;
850
+ };
851
+ };
852
+ content: "none";
853
+ isFileBlock: true;
854
+ fileBlockAccept: string[];
855
+ }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
856
+ };
857
+ video: {
858
+ config: {
859
+ type: "video";
860
+ propSchema: {
861
+ textAlignment: {
862
+ default: "left";
863
+ values: readonly ["left", "center", "right", "justify"];
864
+ };
865
+ backgroundColor: {
866
+ default: "default";
867
+ };
868
+ name: {
869
+ default: "";
870
+ };
871
+ url: {
872
+ default: "";
873
+ };
874
+ caption: {
875
+ default: "";
876
+ };
877
+ showPreview: {
878
+ default: true;
879
+ };
880
+ previewWidth: {
881
+ default: number;
882
+ };
883
+ };
884
+ content: "none";
885
+ isFileBlock: true;
886
+ fileBlockAccept: string[];
887
+ };
888
+ implementation: import("@blocknote/core").TiptapBlockImplementation<{
889
+ type: "video";
890
+ propSchema: {
891
+ textAlignment: {
892
+ default: "left";
893
+ values: readonly ["left", "center", "right", "justify"];
894
+ };
895
+ backgroundColor: {
896
+ default: "default";
897
+ };
898
+ name: {
899
+ default: "";
900
+ };
901
+ url: {
902
+ default: "";
903
+ };
904
+ caption: {
905
+ default: "";
906
+ };
907
+ showPreview: {
908
+ default: true;
909
+ };
910
+ previewWidth: {
911
+ default: number;
912
+ };
913
+ };
914
+ content: "none";
915
+ isFileBlock: true;
916
+ fileBlockAccept: string[];
917
+ }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
918
+ };
919
+ audio: {
920
+ config: {
921
+ type: "audio";
922
+ propSchema: {
923
+ backgroundColor: {
924
+ default: "default";
925
+ };
926
+ name: {
927
+ default: "";
928
+ };
929
+ url: {
930
+ default: "";
931
+ };
932
+ caption: {
933
+ default: "";
934
+ };
935
+ showPreview: {
936
+ default: true;
937
+ };
938
+ };
939
+ content: "none";
940
+ isFileBlock: true;
941
+ fileBlockAccept: string[];
942
+ };
943
+ implementation: import("@blocknote/core").TiptapBlockImplementation<{
944
+ type: "audio";
945
+ propSchema: {
946
+ backgroundColor: {
947
+ default: "default";
948
+ };
949
+ name: {
950
+ default: "";
951
+ };
952
+ url: {
953
+ default: "";
954
+ };
955
+ caption: {
956
+ default: "";
957
+ };
958
+ showPreview: {
959
+ default: true;
960
+ };
961
+ };
962
+ content: "none";
963
+ isFileBlock: true;
964
+ fileBlockAccept: string[];
965
+ }, any, import("@blocknote/core").InlineContentSchema, import("@blocknote/core").StyleSchema>;
966
+ };
967
+ }> & {
968
+ column: {
969
+ type: "column";
970
+ content: "none";
971
+ propSchema: {
972
+ width: {
973
+ default: number;
974
+ };
975
+ };
976
+ };
977
+ columnList: {
978
+ type: "columnList";
979
+ content: "none";
980
+ propSchema: {};
981
+ };
982
+ }, import("@blocknote/core").InlineContentSchemaFromSpecs<{
983
+ text: {
984
+ config: "text";
985
+ implementation: any;
986
+ };
987
+ link: {
988
+ config: "link";
989
+ implementation: any;
990
+ };
991
+ }>, import("@blocknote/core").StyleSchemaFromSpecs<{
992
+ bold: {
993
+ config: {
994
+ type: string;
995
+ propSchema: "boolean";
996
+ };
997
+ implementation: import("@blocknote/core").StyleImplementation;
998
+ };
999
+ italic: {
1000
+ config: {
1001
+ type: string;
1002
+ propSchema: "boolean";
1003
+ };
1004
+ implementation: import("@blocknote/core").StyleImplementation;
1005
+ };
1006
+ underline: {
1007
+ config: {
1008
+ type: string;
1009
+ propSchema: "boolean";
1010
+ };
1011
+ implementation: import("@blocknote/core").StyleImplementation;
1012
+ };
1013
+ strike: {
1014
+ config: {
1015
+ type: string;
1016
+ propSchema: "boolean";
1017
+ };
1018
+ implementation: import("@blocknote/core").StyleImplementation;
1019
+ };
1020
+ code: {
1021
+ config: {
1022
+ type: string;
1023
+ propSchema: "boolean";
1024
+ };
1025
+ implementation: import("@blocknote/core").StyleImplementation;
1026
+ };
1027
+ textColor: {
1028
+ config: {
1029
+ type: string;
1030
+ propSchema: "string";
1031
+ };
1032
+ implementation: import("@blocknote/core").StyleImplementation;
1033
+ };
1034
+ backgroundColor: {
1035
+ config: {
1036
+ type: string;
1037
+ propSchema: "string";
1038
+ };
1039
+ implementation: import("@blocknote/core").StyleImplementation;
1040
+ };
1041
+ }>>;