@blocknote/core 0.32.0-hackdays.0 → 0.32.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 (85) hide show
  1. package/dist/blocknote.cjs +9 -9
  2. package/dist/blocknote.cjs.map +1 -1
  3. package/dist/blocknote.js +2122 -1918
  4. package/dist/blocknote.js.map +1 -1
  5. package/dist/en-CsgPjHa4.cjs +2 -0
  6. package/dist/en-CsgPjHa4.cjs.map +1 -0
  7. package/dist/{en-qGo6sk9V.js → en-Dx9fwHD4.js} +47 -1
  8. package/dist/en-Dx9fwHD4.js.map +1 -0
  9. package/dist/locales.cjs +1 -1
  10. package/dist/locales.cjs.map +1 -1
  11. package/dist/locales.js +1453 -30
  12. package/dist/locales.js.map +1 -1
  13. package/dist/style.css +1 -1
  14. package/dist/tsconfig.tsbuildinfo +1 -0
  15. package/dist/webpack-stats.json +1 -1
  16. package/package.json +1 -1
  17. package/src/api/blockManipulation/commands/insertBlocks/__snapshots__/insertBlocks.test.ts.snap +18 -0
  18. package/src/api/blockManipulation/commands/mergeBlocks/__snapshots__/mergeBlocks.test.ts.snap +10 -0
  19. package/src/api/blockManipulation/commands/moveBlocks/__snapshots__/moveBlocks.test.ts.snap +40 -0
  20. package/src/api/blockManipulation/commands/replaceBlocks/__snapshots__/replaceBlocks.test.ts.snap +23 -0
  21. package/src/api/blockManipulation/commands/splitBlock/__snapshots__/splitBlock.test.ts.snap +13 -0
  22. package/src/api/blockManipulation/commands/updateBlock/__snapshots__/updateBlock.test.ts.snap +50 -0
  23. package/src/blocks/HeadingBlockContent/HeadingBlockContent.ts +72 -74
  24. package/src/blocks/ListItemBlockContent/ListItemKeyboardShortcuts.ts +1 -0
  25. package/src/blocks/ListItemBlockContent/ToggleListItemBlockContent/ToggleListItemBlockContent.ts +104 -0
  26. package/src/blocks/ToggleWrapper/createToggleWrapper.ts +182 -0
  27. package/src/blocks/defaultBlockTypeGuards.ts +6 -2
  28. package/src/blocks/defaultBlocks.ts +2 -0
  29. package/src/editor/Block.css +112 -25
  30. package/src/editor/BlockNoteEditor.test.ts +1 -0
  31. package/src/editor/BlockNoteEditor.ts +18 -0
  32. package/src/editor/BlockNoteExtensions.ts +1 -1
  33. package/src/editor/BlockNoteTipTapEditor.ts +1 -0
  34. package/src/editor/editor.css +3 -0
  35. package/src/extensions/Collaboration/ForkYDocPlugin.ts +26 -8
  36. package/src/extensions/Collaboration/UndoPlugin.ts +3 -2
  37. package/src/extensions/FormattingToolbar/FormattingToolbarPlugin.ts +4 -1
  38. package/src/extensions/KeyboardShortcuts/KeyboardShortcutsExtension.ts +16 -4
  39. package/src/extensions/SuggestionMenu/SuggestionPlugin.ts +12 -22
  40. package/src/extensions/SuggestionMenu/getDefaultSlashMenuItems.ts +64 -0
  41. package/src/i18n/locales/ar.ts +46 -0
  42. package/src/i18n/locales/de.ts +65 -0
  43. package/src/i18n/locales/en.ts +46 -0
  44. package/src/i18n/locales/es.ts +46 -0
  45. package/src/i18n/locales/fr.ts +68 -0
  46. package/src/i18n/locales/he.ts +402 -0
  47. package/src/i18n/locales/hr.ts +46 -0
  48. package/src/i18n/locales/index.ts +1 -0
  49. package/src/i18n/locales/is.ts +67 -0
  50. package/src/i18n/locales/it.ts +67 -0
  51. package/src/i18n/locales/ja.ts +66 -0
  52. package/src/i18n/locales/ko.ts +46 -0
  53. package/src/i18n/locales/nl.ts +47 -0
  54. package/src/i18n/locales/no.ts +64 -0
  55. package/src/i18n/locales/pl.ts +52 -0
  56. package/src/i18n/locales/pt.ts +46 -0
  57. package/src/i18n/locales/ru.ts +62 -0
  58. package/src/i18n/locales/sk.ts +46 -0
  59. package/src/i18n/locales/uk.ts +46 -0
  60. package/src/i18n/locales/vi.ts +46 -0
  61. package/src/i18n/locales/zh-tw.ts +54 -0
  62. package/src/i18n/locales/zh.ts +54 -0
  63. package/src/index.ts +1 -0
  64. package/src/schema/blocks/createSpec.ts +3 -1
  65. package/types/src/api/blockManipulation/setupTestEnv.d.ts +42 -2
  66. package/types/src/blocks/HeadingBlockContent/HeadingBlockContent.d.ts +12 -3
  67. package/types/src/blocks/ListItemBlockContent/ToggleListItemBlockContent/ToggleListItemBlockContent.d.ts +46 -0
  68. package/types/src/blocks/ToggleWrapper/createToggleWrapper.d.ts +15 -0
  69. package/types/src/blocks/defaultBlockTypeGuards.d.ts +2 -2
  70. package/types/src/blocks/defaultBlocks.d.ts +84 -4
  71. package/types/src/editor/BlockNoteEditor.d.ts +14 -0
  72. package/types/src/extensions/Collaboration/UndoPlugin.d.ts +4 -1
  73. package/types/src/i18n/locales/en.d.ts +45 -0
  74. package/types/src/i18n/locales/he.d.ts +2 -0
  75. package/types/src/i18n/locales/index.d.ts +1 -0
  76. package/types/src/i18n/locales/sk.d.ts +45 -0
  77. package/types/src/index.d.ts +1 -0
  78. package/types/src/schema/blocks/createSpec.d.ts +2 -1
  79. package/dist/en-BXVKCwYt.cjs +0 -2
  80. package/dist/en-BXVKCwYt.cjs.map +0 -1
  81. package/dist/en-qGo6sk9V.js.map +0 -1
  82. package/types/src/api/blockManipulation/selections/selection.test.d.ts +0 -1
  83. package/types/src/api/blockManipulation/selections/textCursorPosition/textCursorPosition.d.ts +0 -5
  84. package/types/src/api/blockManipulation/selections/textCursorPosition/textCursorPosition.test.d.ts +0 -1
  85. package/types/src/extensions/Collaboration/createCollaborationExtensions.d.ts +0 -17
@@ -113,6 +113,7 @@ exports[`Test replaceBlocks > Remove multiple consecutive blocks 1`] = `
113
113
  "id": "heading-0",
114
114
  "props": {
115
115
  "backgroundColor": "default",
116
+ "isToggleable": false,
116
117
  "level": 1,
117
118
  "textAlignment": "left",
118
119
  "textColor": "default",
@@ -459,6 +460,7 @@ exports[`Test replaceBlocks > Remove multiple consecutive blocks 1`] = `
459
460
  "id": "heading-with-everything",
460
461
  "props": {
461
462
  "backgroundColor": "red",
463
+ "isToggleable": false,
462
464
  "level": 2,
463
465
  "textAlignment": "center",
464
466
  "textColor": "red",
@@ -662,6 +664,7 @@ exports[`Test replaceBlocks > Remove multiple non-consecutive blocks 1`] = `
662
664
  "id": "heading-0",
663
665
  "props": {
664
666
  "backgroundColor": "default",
667
+ "isToggleable": false,
665
668
  "level": 1,
666
669
  "textAlignment": "left",
667
670
  "textColor": "default",
@@ -958,6 +961,7 @@ exports[`Test replaceBlocks > Remove single block 1`] = `
958
961
  "id": "heading-0",
959
962
  "props": {
960
963
  "backgroundColor": "default",
964
+ "isToggleable": false,
961
965
  "level": 1,
962
966
  "textAlignment": "left",
963
967
  "textColor": "default",
@@ -1304,6 +1308,7 @@ exports[`Test replaceBlocks > Remove single block 1`] = `
1304
1308
  "id": "heading-with-everything",
1305
1309
  "props": {
1306
1310
  "backgroundColor": "red",
1311
+ "isToggleable": false,
1307
1312
  "level": 2,
1308
1313
  "textAlignment": "center",
1309
1314
  "textColor": "red",
@@ -1488,6 +1493,7 @@ exports[`Test replaceBlocks > Replace multiple consecutive blocks with multiple
1488
1493
  "id": "heading-0",
1489
1494
  "props": {
1490
1495
  "backgroundColor": "default",
1496
+ "isToggleable": false,
1491
1497
  "level": 1,
1492
1498
  "textAlignment": "left",
1493
1499
  "textColor": "default",
@@ -1834,6 +1840,7 @@ exports[`Test replaceBlocks > Replace multiple consecutive blocks with multiple
1834
1840
  "id": "heading-with-everything",
1835
1841
  "props": {
1836
1842
  "backgroundColor": "red",
1843
+ "isToggleable": false,
1837
1844
  "level": 2,
1838
1845
  "textAlignment": "center",
1839
1846
  "textColor": "red",
@@ -1978,6 +1985,7 @@ exports[`Test replaceBlocks > Replace multiple consecutive blocks with single ba
1978
1985
  "id": "heading-0",
1979
1986
  "props": {
1980
1987
  "backgroundColor": "default",
1988
+ "isToggleable": false,
1981
1989
  "level": 1,
1982
1990
  "textAlignment": "left",
1983
1991
  "textColor": "default",
@@ -2324,6 +2332,7 @@ exports[`Test replaceBlocks > Replace multiple consecutive blocks with single ba
2324
2332
  "id": "heading-with-everything",
2325
2333
  "props": {
2326
2334
  "backgroundColor": "red",
2335
+ "isToggleable": false,
2327
2336
  "level": 2,
2328
2337
  "textAlignment": "center",
2329
2338
  "textColor": "red",
@@ -2408,6 +2417,7 @@ exports[`Test replaceBlocks > Replace multiple consecutive blocks with single co
2408
2417
  "id": "inserted-heading-with-everything",
2409
2418
  "props": {
2410
2419
  "backgroundColor": "red",
2420
+ "isToggleable": false,
2411
2421
  "level": 2,
2412
2422
  "textAlignment": "center",
2413
2423
  "textColor": "red",
@@ -2525,6 +2535,7 @@ exports[`Test replaceBlocks > Replace multiple consecutive blocks with single co
2525
2535
  "id": "heading-0",
2526
2536
  "props": {
2527
2537
  "backgroundColor": "default",
2538
+ "isToggleable": false,
2528
2539
  "level": 1,
2529
2540
  "textAlignment": "left",
2530
2541
  "textColor": "default",
@@ -2871,6 +2882,7 @@ exports[`Test replaceBlocks > Replace multiple consecutive blocks with single co
2871
2882
  "id": "heading-with-everything",
2872
2883
  "props": {
2873
2884
  "backgroundColor": "red",
2885
+ "isToggleable": false,
2874
2886
  "level": 2,
2875
2887
  "textAlignment": "center",
2876
2888
  "textColor": "red",
@@ -3125,6 +3137,7 @@ exports[`Test replaceBlocks > Replace multiple non-consecutive blocks with multi
3125
3137
  "id": "heading-0",
3126
3138
  "props": {
3127
3139
  "backgroundColor": "default",
3140
+ "isToggleable": false,
3128
3141
  "level": 1,
3129
3142
  "textAlignment": "left",
3130
3143
  "textColor": "default",
@@ -3432,6 +3445,7 @@ exports[`Test replaceBlocks > Replace multiple non-consecutive blocks with singl
3432
3445
  "id": "heading-0",
3433
3446
  "props": {
3434
3447
  "backgroundColor": "default",
3448
+ "isToggleable": false,
3435
3449
  "level": 1,
3436
3450
  "textAlignment": "left",
3437
3451
  "textColor": "default",
@@ -3609,6 +3623,7 @@ exports[`Test replaceBlocks > Replace multiple non-consecutive blocks with singl
3609
3623
  "id": "inserted-heading-with-everything",
3610
3624
  "props": {
3611
3625
  "backgroundColor": "red",
3626
+ "isToggleable": false,
3612
3627
  "level": 2,
3613
3628
  "textAlignment": "center",
3614
3629
  "textColor": "red",
@@ -3796,6 +3811,7 @@ exports[`Test replaceBlocks > Replace multiple non-consecutive blocks with singl
3796
3811
  "id": "heading-0",
3797
3812
  "props": {
3798
3813
  "backgroundColor": "default",
3814
+ "isToggleable": false,
3799
3815
  "level": 1,
3800
3816
  "textAlignment": "left",
3801
3817
  "textColor": "default",
@@ -4143,6 +4159,7 @@ exports[`Test replaceBlocks > Replace single block with multiple 1`] = `
4143
4159
  "id": "heading-0",
4144
4160
  "props": {
4145
4161
  "backgroundColor": "default",
4162
+ "isToggleable": false,
4146
4163
  "level": 1,
4147
4164
  "textAlignment": "left",
4148
4165
  "textColor": "default",
@@ -4489,6 +4506,7 @@ exports[`Test replaceBlocks > Replace single block with multiple 1`] = `
4489
4506
  "id": "heading-with-everything",
4490
4507
  "props": {
4491
4508
  "backgroundColor": "red",
4509
+ "isToggleable": false,
4492
4510
  "level": 2,
4493
4511
  "textAlignment": "center",
4494
4512
  "textColor": "red",
@@ -4703,6 +4721,7 @@ exports[`Test replaceBlocks > Replace single block with single basic 1`] = `
4703
4721
  "id": "heading-0",
4704
4722
  "props": {
4705
4723
  "backgroundColor": "default",
4724
+ "isToggleable": false,
4706
4725
  "level": 1,
4707
4726
  "textAlignment": "left",
4708
4727
  "textColor": "default",
@@ -5049,6 +5068,7 @@ exports[`Test replaceBlocks > Replace single block with single basic 1`] = `
5049
5068
  "id": "heading-with-everything",
5050
5069
  "props": {
5051
5070
  "backgroundColor": "red",
5071
+ "isToggleable": false,
5052
5072
  "level": 2,
5053
5073
  "textAlignment": "center",
5054
5074
  "textColor": "red",
@@ -5133,6 +5153,7 @@ exports[`Test replaceBlocks > Replace single block with single complex 1`] = `
5133
5153
  "id": "inserted-heading-with-everything",
5134
5154
  "props": {
5135
5155
  "backgroundColor": "red",
5156
+ "isToggleable": false,
5136
5157
  "level": 2,
5137
5158
  "textAlignment": "center",
5138
5159
  "textColor": "red",
@@ -5320,6 +5341,7 @@ exports[`Test replaceBlocks > Replace single block with single complex 1`] = `
5320
5341
  "id": "heading-0",
5321
5342
  "props": {
5322
5343
  "backgroundColor": "default",
5344
+ "isToggleable": false,
5323
5345
  "level": 1,
5324
5346
  "textAlignment": "left",
5325
5347
  "textColor": "default",
@@ -5666,6 +5688,7 @@ exports[`Test replaceBlocks > Replace single block with single complex 1`] = `
5666
5688
  "id": "heading-with-everything",
5667
5689
  "props": {
5668
5690
  "backgroundColor": "red",
5691
+ "isToggleable": false,
5669
5692
  "level": 2,
5670
5693
  "textAlignment": "center",
5671
5694
  "textColor": "red",
@@ -217,6 +217,7 @@ exports[`Test splitBlocks > Basic 1`] = `
217
217
  "id": "heading-0",
218
218
  "props": {
219
219
  "backgroundColor": "default",
220
+ "isToggleable": false,
220
221
  "level": 1,
221
222
  "textAlignment": "left",
222
223
  "textColor": "default",
@@ -563,6 +564,7 @@ exports[`Test splitBlocks > Basic 1`] = `
563
564
  "id": "heading-with-everything",
564
565
  "props": {
565
566
  "backgroundColor": "red",
567
+ "isToggleable": false,
566
568
  "level": 2,
567
569
  "textAlignment": "center",
568
570
  "textColor": "red",
@@ -800,6 +802,7 @@ exports[`Test splitBlocks > Block has children 1`] = `
800
802
  "id": "heading-0",
801
803
  "props": {
802
804
  "backgroundColor": "default",
805
+ "isToggleable": false,
803
806
  "level": 1,
804
807
  "textAlignment": "left",
805
808
  "textColor": "default",
@@ -1146,6 +1149,7 @@ exports[`Test splitBlocks > Block has children 1`] = `
1146
1149
  "id": "heading-with-everything",
1147
1150
  "props": {
1148
1151
  "backgroundColor": "red",
1152
+ "isToggleable": false,
1149
1153
  "level": 2,
1150
1154
  "textAlignment": "center",
1151
1155
  "textColor": "red",
@@ -1383,6 +1387,7 @@ exports[`Test splitBlocks > Don't keep props 1`] = `
1383
1387
  "id": "heading-0",
1384
1388
  "props": {
1385
1389
  "backgroundColor": "default",
1390
+ "isToggleable": false,
1386
1391
  "level": 1,
1387
1392
  "textAlignment": "left",
1388
1393
  "textColor": "default",
@@ -1729,6 +1734,7 @@ exports[`Test splitBlocks > Don't keep props 1`] = `
1729
1734
  "id": "heading-with-everything",
1730
1735
  "props": {
1731
1736
  "backgroundColor": "red",
1737
+ "isToggleable": false,
1732
1738
  "level": 2,
1733
1739
  "textAlignment": "center",
1734
1740
  "textColor": "red",
@@ -1949,6 +1955,7 @@ exports[`Test splitBlocks > Don't keep type 1`] = `
1949
1955
  "id": "heading-0",
1950
1956
  "props": {
1951
1957
  "backgroundColor": "default",
1958
+ "isToggleable": false,
1952
1959
  "level": 1,
1953
1960
  "textAlignment": "left",
1954
1961
  "textColor": "default",
@@ -2312,6 +2319,7 @@ exports[`Test splitBlocks > Don't keep type 1`] = `
2312
2319
  "id": "heading-with-everything",
2313
2320
  "props": {
2314
2321
  "backgroundColor": "red",
2322
+ "isToggleable": false,
2315
2323
  "level": 2,
2316
2324
  "textAlignment": "center",
2317
2325
  "textColor": "red",
@@ -2543,6 +2551,7 @@ exports[`Test splitBlocks > End of content 1`] = `
2543
2551
  "id": "heading-0",
2544
2552
  "props": {
2545
2553
  "backgroundColor": "default",
2554
+ "isToggleable": false,
2546
2555
  "level": 1,
2547
2556
  "textAlignment": "left",
2548
2557
  "textColor": "default",
@@ -2889,6 +2898,7 @@ exports[`Test splitBlocks > End of content 1`] = `
2889
2898
  "id": "heading-with-everything",
2890
2899
  "props": {
2891
2900
  "backgroundColor": "red",
2901
+ "isToggleable": false,
2892
2902
  "level": 2,
2893
2903
  "textAlignment": "center",
2894
2904
  "textColor": "red",
@@ -3109,6 +3119,7 @@ exports[`Test splitBlocks > Keep type 1`] = `
3109
3119
  "id": "heading-0",
3110
3120
  "props": {
3111
3121
  "backgroundColor": "default",
3122
+ "isToggleable": false,
3112
3123
  "level": 1,
3113
3124
  "textAlignment": "left",
3114
3125
  "textColor": "default",
@@ -3127,6 +3138,7 @@ exports[`Test splitBlocks > Keep type 1`] = `
3127
3138
  "id": "0",
3128
3139
  "props": {
3129
3140
  "backgroundColor": "default",
3141
+ "isToggleable": false,
3130
3142
  "level": 1,
3131
3143
  "textAlignment": "left",
3132
3144
  "textColor": "default",
@@ -3473,6 +3485,7 @@ exports[`Test splitBlocks > Keep type 1`] = `
3473
3485
  "id": "heading-with-everything",
3474
3486
  "props": {
3475
3487
  "backgroundColor": "red",
3488
+ "isToggleable": false,
3476
3489
  "level": 2,
3477
3490
  "textAlignment": "center",
3478
3491
  "textColor": "red",
@@ -63,6 +63,7 @@ exports[`Test updateBlock > Revert all props 1`] = `
63
63
  "id": "heading-with-everything",
64
64
  "props": {
65
65
  "backgroundColor": "default",
66
+ "isToggleable": false,
66
67
  "level": 1,
67
68
  "textAlignment": "left",
68
69
  "textColor": "default",
@@ -271,6 +272,7 @@ exports[`Test updateBlock > Revert all props 2`] = `
271
272
  "id": "heading-0",
272
273
  "props": {
273
274
  "backgroundColor": "default",
275
+ "isToggleable": false,
274
276
  "level": 1,
275
277
  "textAlignment": "left",
276
278
  "textColor": "default",
@@ -617,6 +619,7 @@ exports[`Test updateBlock > Revert all props 2`] = `
617
619
  "id": "heading-with-everything",
618
620
  "props": {
619
621
  "backgroundColor": "default",
622
+ "isToggleable": false,
620
623
  "level": 1,
621
624
  "textAlignment": "left",
622
625
  "textColor": "default",
@@ -700,6 +703,7 @@ exports[`Test updateBlock > Revert single prop 1`] = `
700
703
  "id": "heading-with-everything",
701
704
  "props": {
702
705
  "backgroundColor": "red",
706
+ "isToggleable": false,
703
707
  "level": 1,
704
708
  "textAlignment": "center",
705
709
  "textColor": "red",
@@ -908,6 +912,7 @@ exports[`Test updateBlock > Revert single prop 2`] = `
908
912
  "id": "heading-0",
909
913
  "props": {
910
914
  "backgroundColor": "default",
915
+ "isToggleable": false,
911
916
  "level": 1,
912
917
  "textAlignment": "left",
913
918
  "textColor": "default",
@@ -1254,6 +1259,7 @@ exports[`Test updateBlock > Revert single prop 2`] = `
1254
1259
  "id": "heading-with-everything",
1255
1260
  "props": {
1256
1261
  "backgroundColor": "red",
1262
+ "isToggleable": false,
1257
1263
  "level": 1,
1258
1264
  "textAlignment": "center",
1259
1265
  "textColor": "red",
@@ -1337,6 +1343,7 @@ exports[`Test updateBlock > Update all props 1`] = `
1337
1343
  "id": "heading-with-everything",
1338
1344
  "props": {
1339
1345
  "backgroundColor": "blue",
1346
+ "isToggleable": false,
1340
1347
  "level": 3,
1341
1348
  "textAlignment": "right",
1342
1349
  "textColor": "blue",
@@ -1545,6 +1552,7 @@ exports[`Test updateBlock > Update all props 2`] = `
1545
1552
  "id": "heading-0",
1546
1553
  "props": {
1547
1554
  "backgroundColor": "default",
1555
+ "isToggleable": false,
1548
1556
  "level": 1,
1549
1557
  "textAlignment": "left",
1550
1558
  "textColor": "default",
@@ -1891,6 +1899,7 @@ exports[`Test updateBlock > Update all props 2`] = `
1891
1899
  "id": "heading-with-everything",
1892
1900
  "props": {
1893
1901
  "backgroundColor": "blue",
1902
+ "isToggleable": false,
1894
1903
  "level": 3,
1895
1904
  "textAlignment": "right",
1896
1905
  "textColor": "blue",
@@ -1974,6 +1983,7 @@ exports[`Test updateBlock > Update children 1`] = `
1974
1983
  "id": "heading-with-everything",
1975
1984
  "props": {
1976
1985
  "backgroundColor": "red",
1986
+ "isToggleable": false,
1977
1987
  "level": 2,
1978
1988
  "textAlignment": "center",
1979
1989
  "textColor": "red",
@@ -2182,6 +2192,7 @@ exports[`Test updateBlock > Update children 2`] = `
2182
2192
  "id": "heading-0",
2183
2193
  "props": {
2184
2194
  "backgroundColor": "default",
2195
+ "isToggleable": false,
2185
2196
  "level": 1,
2186
2197
  "textAlignment": "left",
2187
2198
  "textColor": "default",
@@ -2528,6 +2539,7 @@ exports[`Test updateBlock > Update children 2`] = `
2528
2539
  "id": "heading-with-everything",
2529
2540
  "props": {
2530
2541
  "backgroundColor": "red",
2542
+ "isToggleable": false,
2531
2543
  "level": 2,
2532
2544
  "textAlignment": "center",
2533
2545
  "textColor": "red",
@@ -2762,6 +2774,7 @@ exports[`Test updateBlock > Update inline content to no content 2`] = `
2762
2774
  "id": "heading-0",
2763
2775
  "props": {
2764
2776
  "backgroundColor": "default",
2777
+ "isToggleable": false,
2765
2778
  "level": 1,
2766
2779
  "textAlignment": "left",
2767
2780
  "textColor": "default",
@@ -3108,6 +3121,7 @@ exports[`Test updateBlock > Update inline content to no content 2`] = `
3108
3121
  "id": "heading-with-everything",
3109
3122
  "props": {
3110
3123
  "backgroundColor": "red",
3124
+ "isToggleable": false,
3111
3125
  "level": 2,
3112
3126
  "textAlignment": "center",
3113
3127
  "textColor": "red",
@@ -3684,6 +3698,7 @@ exports[`Test updateBlock > Update inline content to table content 2`] = `
3684
3698
  "id": "heading-0",
3685
3699
  "props": {
3686
3700
  "backgroundColor": "default",
3701
+ "isToggleable": false,
3687
3702
  "level": 1,
3688
3703
  "textAlignment": "left",
3689
3704
  "textColor": "default",
@@ -4030,6 +4045,7 @@ exports[`Test updateBlock > Update inline content to table content 2`] = `
4030
4045
  "id": "heading-with-everything",
4031
4046
  "props": {
4032
4047
  "backgroundColor": "red",
4048
+ "isToggleable": false,
4033
4049
  "level": 2,
4034
4050
  "textAlignment": "center",
4035
4051
  "textColor": "red",
@@ -4264,6 +4280,7 @@ exports[`Test updateBlock > Update no content to empty inline content 2`] = `
4264
4280
  "id": "heading-0",
4265
4281
  "props": {
4266
4282
  "backgroundColor": "default",
4283
+ "isToggleable": false,
4267
4284
  "level": 1,
4268
4285
  "textAlignment": "left",
4269
4286
  "textColor": "default",
@@ -4607,6 +4624,7 @@ exports[`Test updateBlock > Update no content to empty inline content 2`] = `
4607
4624
  "id": "heading-with-everything",
4608
4625
  "props": {
4609
4626
  "backgroundColor": "red",
4627
+ "isToggleable": false,
4610
4628
  "level": 2,
4611
4629
  "textAlignment": "center",
4612
4630
  "textColor": "red",
@@ -4845,6 +4863,7 @@ exports[`Test updateBlock > Update no content to empty table content 2`] = `
4845
4863
  "id": "heading-0",
4846
4864
  "props": {
4847
4865
  "backgroundColor": "default",
4866
+ "isToggleable": false,
4848
4867
  "level": 1,
4849
4868
  "textAlignment": "left",
4850
4869
  "textColor": "default",
@@ -5188,6 +5207,7 @@ exports[`Test updateBlock > Update no content to empty table content 2`] = `
5188
5207
  "id": "heading-with-everything",
5189
5208
  "props": {
5190
5209
  "backgroundColor": "red",
5210
+ "isToggleable": false,
5191
5211
  "level": 2,
5192
5212
  "textAlignment": "center",
5193
5213
  "textColor": "red",
@@ -5428,6 +5448,7 @@ exports[`Test updateBlock > Update no content to inline content 2`] = `
5428
5448
  "id": "heading-0",
5429
5449
  "props": {
5430
5450
  "backgroundColor": "default",
5451
+ "isToggleable": false,
5431
5452
  "level": 1,
5432
5453
  "textAlignment": "left",
5433
5454
  "textColor": "default",
@@ -5777,6 +5798,7 @@ exports[`Test updateBlock > Update no content to inline content 2`] = `
5777
5798
  "id": "heading-with-everything",
5778
5799
  "props": {
5779
5800
  "backgroundColor": "red",
5801
+ "isToggleable": false,
5780
5802
  "level": 2,
5781
5803
  "textAlignment": "center",
5782
5804
  "textColor": "red",
@@ -6185,6 +6207,7 @@ exports[`Test updateBlock > Update no content to table content 2`] = `
6185
6207
  "id": "heading-0",
6186
6208
  "props": {
6187
6209
  "backgroundColor": "default",
6210
+ "isToggleable": false,
6188
6211
  "level": 1,
6189
6212
  "textAlignment": "left",
6190
6213
  "textColor": "default",
@@ -6702,6 +6725,7 @@ exports[`Test updateBlock > Update no content to table content 2`] = `
6702
6725
  "id": "heading-with-everything",
6703
6726
  "props": {
6704
6727
  "backgroundColor": "red",
6728
+ "isToggleable": false,
6705
6729
  "level": 2,
6706
6730
  "textAlignment": "center",
6707
6731
  "textColor": "red",
@@ -6922,6 +6946,7 @@ exports[`Test updateBlock > Update partial (offset start + end) 1`] = `
6922
6946
  "id": "heading-0",
6923
6947
  "props": {
6924
6948
  "backgroundColor": "default",
6949
+ "isToggleable": false,
6925
6950
  "level": 1,
6926
6951
  "textAlignment": "left",
6927
6952
  "textColor": "default",
@@ -7268,6 +7293,7 @@ exports[`Test updateBlock > Update partial (offset start + end) 1`] = `
7268
7293
  "id": "heading-with-everything",
7269
7294
  "props": {
7270
7295
  "backgroundColor": "red",
7296
+ "isToggleable": false,
7271
7297
  "level": 2,
7272
7298
  "textAlignment": "center",
7273
7299
  "textColor": "red",
@@ -7488,6 +7514,7 @@ exports[`Test updateBlock > Update partial (offset start) 1`] = `
7488
7514
  "id": "heading-0",
7489
7515
  "props": {
7490
7516
  "backgroundColor": "default",
7517
+ "isToggleable": false,
7491
7518
  "level": 1,
7492
7519
  "textAlignment": "left",
7493
7520
  "textColor": "default",
@@ -7827,6 +7854,7 @@ exports[`Test updateBlock > Update partial (offset start) 1`] = `
7827
7854
  "id": "heading-with-everything",
7828
7855
  "props": {
7829
7856
  "backgroundColor": "red",
7857
+ "isToggleable": false,
7830
7858
  "level": 2,
7831
7859
  "textAlignment": "center",
7832
7860
  "textColor": "red",
@@ -8047,6 +8075,7 @@ exports[`Test updateBlock > Update partial (props + offset end) 1`] = `
8047
8075
  "id": "heading-0",
8048
8076
  "props": {
8049
8077
  "backgroundColor": "default",
8078
+ "isToggleable": false,
8050
8079
  "level": 1,
8051
8080
  "textAlignment": "left",
8052
8081
  "textColor": "default",
@@ -8386,6 +8415,7 @@ exports[`Test updateBlock > Update partial (props + offset end) 1`] = `
8386
8415
  "id": "heading-with-everything",
8387
8416
  "props": {
8388
8417
  "backgroundColor": "red",
8418
+ "isToggleable": false,
8389
8419
  "level": 1,
8390
8420
  "textAlignment": "center",
8391
8421
  "textColor": "red",
@@ -8606,6 +8636,7 @@ exports[`Test updateBlock > Update partial (table cell) 1`] = `
8606
8636
  "id": "heading-0",
8607
8637
  "props": {
8608
8638
  "backgroundColor": "default",
8639
+ "isToggleable": false,
8609
8640
  "level": 1,
8610
8641
  "textAlignment": "left",
8611
8642
  "textColor": "default",
@@ -8952,6 +8983,7 @@ exports[`Test updateBlock > Update partial (table cell) 1`] = `
8952
8983
  "id": "heading-with-everything",
8953
8984
  "props": {
8954
8985
  "backgroundColor": "red",
8986
+ "isToggleable": false,
8955
8987
  "level": 2,
8956
8988
  "textAlignment": "center",
8957
8989
  "textColor": "red",
@@ -9172,6 +9204,7 @@ exports[`Test updateBlock > Update partial (table row) 1`] = `
9172
9204
  "id": "heading-0",
9173
9205
  "props": {
9174
9206
  "backgroundColor": "default",
9207
+ "isToggleable": false,
9175
9208
  "level": 1,
9176
9209
  "textAlignment": "left",
9177
9210
  "textColor": "default",
@@ -9518,6 +9551,7 @@ exports[`Test updateBlock > Update partial (table row) 1`] = `
9518
9551
  "id": "heading-with-everything",
9519
9552
  "props": {
9520
9553
  "backgroundColor": "red",
9554
+ "isToggleable": false,
9521
9555
  "level": 2,
9522
9556
  "textAlignment": "center",
9523
9557
  "textColor": "red",
@@ -9601,6 +9635,7 @@ exports[`Test updateBlock > Update single prop 1`] = `
9601
9635
  "id": "heading-with-everything",
9602
9636
  "props": {
9603
9637
  "backgroundColor": "red",
9638
+ "isToggleable": false,
9604
9639
  "level": 3,
9605
9640
  "textAlignment": "center",
9606
9641
  "textColor": "red",
@@ -9809,6 +9844,7 @@ exports[`Test updateBlock > Update single prop 2`] = `
9809
9844
  "id": "heading-0",
9810
9845
  "props": {
9811
9846
  "backgroundColor": "default",
9847
+ "isToggleable": false,
9812
9848
  "level": 1,
9813
9849
  "textAlignment": "left",
9814
9850
  "textColor": "default",
@@ -10155,6 +10191,7 @@ exports[`Test updateBlock > Update single prop 2`] = `
10155
10191
  "id": "heading-with-everything",
10156
10192
  "props": {
10157
10193
  "backgroundColor": "red",
10194
+ "isToggleable": false,
10158
10195
  "level": 3,
10159
10196
  "textAlignment": "center",
10160
10197
  "textColor": "red",
@@ -10389,6 +10426,7 @@ exports[`Test updateBlock > Update table content to empty inline content 2`] = `
10389
10426
  "id": "heading-0",
10390
10427
  "props": {
10391
10428
  "backgroundColor": "default",
10429
+ "isToggleable": false,
10392
10430
  "level": 1,
10393
10431
  "textAlignment": "left",
10394
10432
  "textColor": "default",
@@ -10561,6 +10599,7 @@ exports[`Test updateBlock > Update table content to empty inline content 2`] = `
10561
10599
  "id": "heading-with-everything",
10562
10600
  "props": {
10563
10601
  "backgroundColor": "red",
10602
+ "isToggleable": false,
10564
10603
  "level": 2,
10565
10604
  "textAlignment": "center",
10566
10605
  "textColor": "red",
@@ -10801,6 +10840,7 @@ exports[`Test updateBlock > Update table content to inline content 2`] = `
10801
10840
  "id": "heading-0",
10802
10841
  "props": {
10803
10842
  "backgroundColor": "default",
10843
+ "isToggleable": false,
10804
10844
  "level": 1,
10805
10845
  "textAlignment": "left",
10806
10846
  "textColor": "default",
@@ -10979,6 +11019,7 @@ exports[`Test updateBlock > Update table content to inline content 2`] = `
10979
11019
  "id": "heading-with-everything",
10980
11020
  "props": {
10981
11021
  "backgroundColor": "red",
11022
+ "isToggleable": false,
10982
11023
  "level": 2,
10983
11024
  "textAlignment": "center",
10984
11025
  "textColor": "red",
@@ -11216,6 +11257,7 @@ exports[`Test updateBlock > Update table content to no content 2`] = `
11216
11257
  "id": "heading-0",
11217
11258
  "props": {
11218
11259
  "backgroundColor": "default",
11260
+ "isToggleable": false,
11219
11261
  "level": 1,
11220
11262
  "textAlignment": "left",
11221
11263
  "textColor": "default",
@@ -11391,6 +11433,7 @@ exports[`Test updateBlock > Update table content to no content 2`] = `
11391
11433
  "id": "heading-with-everything",
11392
11434
  "props": {
11393
11435
  "backgroundColor": "red",
11436
+ "isToggleable": false,
11394
11437
  "level": 2,
11395
11438
  "textAlignment": "center",
11396
11439
  "textColor": "red",
@@ -11681,6 +11724,7 @@ exports[`Test updateBlock > Update type 2`] = `
11681
11724
  "id": "heading-0",
11682
11725
  "props": {
11683
11726
  "backgroundColor": "default",
11727
+ "isToggleable": false,
11684
11728
  "level": 1,
11685
11729
  "textAlignment": "left",
11686
11730
  "textColor": "default",
@@ -12095,6 +12139,7 @@ exports[`Test updateBlock > Update with plain content 1`] = `
12095
12139
  "id": "heading-with-everything",
12096
12140
  "props": {
12097
12141
  "backgroundColor": "red",
12142
+ "isToggleable": false,
12098
12143
  "level": 2,
12099
12144
  "textAlignment": "center",
12100
12145
  "textColor": "red",
@@ -12303,6 +12348,7 @@ exports[`Test updateBlock > Update with plain content 2`] = `
12303
12348
  "id": "heading-0",
12304
12349
  "props": {
12305
12350
  "backgroundColor": "default",
12351
+ "isToggleable": false,
12306
12352
  "level": 1,
12307
12353
  "textAlignment": "left",
12308
12354
  "textColor": "default",
@@ -12635,6 +12681,7 @@ exports[`Test updateBlock > Update with plain content 2`] = `
12635
12681
  "id": "heading-with-everything",
12636
12682
  "props": {
12637
12683
  "backgroundColor": "red",
12684
+ "isToggleable": false,
12638
12685
  "level": 2,
12639
12686
  "textAlignment": "center",
12640
12687
  "textColor": "red",
@@ -12718,6 +12765,7 @@ exports[`Test updateBlock > Update with styled content 1`] = `
12718
12765
  "id": "heading-with-everything",
12719
12766
  "props": {
12720
12767
  "backgroundColor": "red",
12768
+ "isToggleable": false,
12721
12769
  "level": 2,
12722
12770
  "textAlignment": "center",
12723
12771
  "textColor": "red",
@@ -12926,6 +12974,7 @@ exports[`Test updateBlock > Update with styled content 2`] = `
12926
12974
  "id": "heading-0",
12927
12975
  "props": {
12928
12976
  "backgroundColor": "default",
12977
+ "isToggleable": false,
12929
12978
  "level": 1,
12930
12979
  "textAlignment": "left",
12931
12980
  "textColor": "default",
@@ -13272,6 +13321,7 @@ exports[`Test updateBlock > Update with styled content 2`] = `
13272
13321
  "id": "heading-with-everything",
13273
13322
  "props": {
13274
13323
  "backgroundColor": "red",
13324
+ "isToggleable": false,
13275
13325
  "level": 2,
13276
13326
  "textAlignment": "center",
13277
13327
  "textColor": "red",