@blocknote/core 0.11.1 → 0.12.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 (129) hide show
  1. package/README.md +13 -17
  2. package/dist/blocknote.js +1611 -1408
  3. package/dist/blocknote.js.map +1 -1
  4. package/dist/blocknote.umd.cjs +6 -6
  5. package/dist/blocknote.umd.cjs.map +1 -1
  6. package/dist/style.css +1 -1
  7. package/dist/webpack-stats.json +1 -1
  8. package/package.json +8 -4
  9. package/src/api/blockManipulation/blockManipulation.test.ts +19 -15
  10. package/src/api/blockManipulation/blockManipulation.ts +107 -17
  11. package/src/api/exporters/html/externalHTMLExporter.ts +3 -7
  12. package/src/api/exporters/html/htmlConversion.test.ts +6 -3
  13. package/src/api/exporters/html/internalHTMLSerializer.ts +3 -7
  14. package/src/api/exporters/html/util/sharedHTMLConversion.ts +3 -3
  15. package/src/api/exporters/markdown/markdownExporter.test.ts +7 -3
  16. package/src/api/exporters/markdown/markdownExporter.ts +2 -6
  17. package/src/api/nodeConversions/nodeConversions.test.ts +14 -7
  18. package/src/api/nodeConversions/nodeConversions.ts +1 -2
  19. package/src/api/parsers/html/parseHTML.test.ts +5 -1
  20. package/src/api/parsers/html/parseHTML.ts +2 -6
  21. package/src/api/parsers/html/util/nestedLists.ts +11 -1
  22. package/src/api/parsers/markdown/parseMarkdown.test.ts +3 -0
  23. package/src/api/parsers/markdown/parseMarkdown.ts +2 -6
  24. package/src/api/testUtil/cases/customBlocks.ts +18 -16
  25. package/src/api/testUtil/cases/customInlineContent.ts +12 -13
  26. package/src/api/testUtil/cases/customStyles.ts +12 -10
  27. package/src/api/testUtil/index.ts +4 -2
  28. package/src/api/testUtil/partialBlockTestUtil.ts +2 -6
  29. package/src/blocks/ImageBlockContent/ImageBlockContent.ts +1 -2
  30. package/src/blocks/ImageBlockContent/uploadToTmpFilesDotOrg_DEV_ONLY.ts +8 -1
  31. package/src/blocks/ParagraphBlockContent/ParagraphBlockContent.ts +13 -0
  32. package/src/blocks/defaultBlockHelpers.ts +3 -3
  33. package/src/blocks/defaultBlockTypeGuards.ts +84 -0
  34. package/src/blocks/defaultBlocks.ts +29 -3
  35. package/src/editor/Block.css +2 -31
  36. package/src/editor/BlockNoteEditor.ts +219 -263
  37. package/src/editor/BlockNoteExtensions.ts +5 -2
  38. package/src/editor/BlockNoteSchema.ts +98 -0
  39. package/src/editor/BlockNoteTipTapEditor.ts +162 -0
  40. package/src/editor/cursorPositionTypes.ts +2 -6
  41. package/src/editor/editor.css +0 -1
  42. package/src/editor/selectionTypes.ts +2 -6
  43. package/src/extensions/FormattingToolbar/FormattingToolbarPlugin.ts +22 -29
  44. package/src/extensions/HyperlinkToolbar/HyperlinkToolbarPlugin.ts +26 -27
  45. package/src/extensions/ImageToolbar/ImageToolbarPlugin.ts +45 -51
  46. package/src/extensions/Placeholder/PlaceholderExtension.ts +81 -88
  47. package/src/extensions/SideMenu/SideMenuPlugin.ts +55 -56
  48. package/src/extensions/SuggestionMenu/DefaultSuggestionItem.ts +8 -0
  49. package/src/extensions/SuggestionMenu/SuggestionPlugin.ts +353 -0
  50. package/src/extensions/{SlashMenu/defaultSlashMenuItems.ts → SuggestionMenu/getDefaultSlashMenuItems.ts} +119 -89
  51. package/src/extensions/TableHandles/TableHandlesPlugin.ts +62 -45
  52. package/src/extensions-shared/UiElementPosition.ts +4 -0
  53. package/src/index.ts +6 -6
  54. package/src/pm-nodes/BlockContainer.ts +5 -9
  55. package/src/schema/blocks/types.ts +15 -15
  56. package/src/schema/inlineContent/createSpec.ts +2 -2
  57. package/src/schema/inlineContent/types.ts +1 -1
  58. package/src/util/browser.ts +6 -4
  59. package/src/util/typescript.ts +7 -4
  60. package/types/src/api/blockManipulation/blockManipulation.d.ts +6 -1
  61. package/types/src/api/exporters/html/externalHTMLExporter.d.ts +2 -1
  62. package/types/src/api/exporters/html/internalHTMLSerializer.d.ts +2 -1
  63. package/types/src/api/exporters/markdown/markdownExporter.d.ts +2 -1
  64. package/types/src/api/nodeConversions/nodeConversions.d.ts +2 -1
  65. package/types/src/api/parsers/html/parseHTML.d.ts +2 -1
  66. package/types/src/api/parsers/markdown/parseMarkdown.d.ts +2 -1
  67. package/types/src/api/testUtil/cases/customBlocks.d.ts +72 -13
  68. package/types/src/api/testUtil/cases/customInlineContent.d.ts +281 -6
  69. package/types/src/api/testUtil/cases/customStyles.d.ts +247 -13
  70. package/types/src/api/testUtil/index.d.ts +4 -2
  71. package/types/src/api/testUtil/partialBlockTestUtil.d.ts +2 -1
  72. package/types/src/blocks/ImageBlockContent/uploadToTmpFilesDotOrg_DEV_ONLY.d.ts +6 -1
  73. package/types/src/blocks/defaultBlockHelpers.d.ts +2 -2
  74. package/types/src/blocks/defaultBlockTypeGuards.d.ts +24 -0
  75. package/types/src/blocks/defaultBlocks.d.ts +21 -15
  76. package/types/src/editor/BlockNoteEditor.d.ts +48 -53
  77. package/types/src/editor/BlockNoteExtensions.d.ts +1 -0
  78. package/types/src/editor/BlockNoteSchema.d.ts +34 -0
  79. package/types/src/editor/BlockNoteTipTapEditor.d.ts +28 -0
  80. package/types/src/editor/cursorPositionTypes.d.ts +2 -1
  81. package/types/src/editor/selectionTypes.d.ts +2 -1
  82. package/types/src/extensions/FormattingToolbar/FormattingToolbarPlugin.d.ts +5 -6
  83. package/types/src/extensions/HyperlinkToolbar/HyperlinkToolbarPlugin.d.ts +2 -2
  84. package/types/src/extensions/ImageToolbar/ImageToolbarPlugin.d.ts +15 -14
  85. package/types/src/extensions/Placeholder/PlaceholderExtension.d.ts +2 -15
  86. package/types/src/extensions/SideMenu/SideMenuPlugin.d.ts +8 -7
  87. package/types/src/extensions/SuggestionMenu/DefaultSuggestionItem.d.ts +8 -0
  88. package/types/src/extensions/SuggestionMenu/SuggestionPlugin.d.ts +31 -0
  89. package/types/src/extensions/SuggestionMenu/getDefaultSlashMenuItems.d.ts +10 -0
  90. package/types/src/extensions/TableHandles/TableHandlesPlugin.d.ts +7 -7
  91. package/types/src/extensions-shared/UiElementPosition.d.ts +4 -0
  92. package/types/src/index.d.ts +6 -6
  93. package/types/src/pm-nodes/BlockContainer.d.ts +3 -2
  94. package/types/src/pm-nodes/BlockGroup.d.ts +1 -1
  95. package/types/src/schema/blocks/types.d.ts +15 -15
  96. package/types/src/schema/inlineContent/types.d.ts +1 -1
  97. package/types/src/util/browser.d.ts +1 -0
  98. package/types/src/util/typescript.d.ts +1 -0
  99. package/src/extensions/SlashMenu/BaseSlashMenuItem.ts +0 -12
  100. package/src/extensions/SlashMenu/SlashMenuPlugin.ts +0 -53
  101. package/src/extensions-shared/BaseUiElementTypes.ts +0 -8
  102. package/src/extensions-shared/README.md +0 -3
  103. package/src/extensions-shared/suggestion/SuggestionItem.ts +0 -3
  104. package/src/extensions-shared/suggestion/SuggestionPlugin.ts +0 -448
  105. package/types/src/extensions/SlashMenu/BaseSlashMenuItem.d.ts +0 -7
  106. package/types/src/extensions/SlashMenu/SlashMenuPlugin.d.ts +0 -13
  107. package/types/src/extensions/SlashMenu/defaultSlashMenuItems.d.ts +0 -3
  108. package/types/src/extensions-shared/BaseUiElementTypes.d.ts +0 -7
  109. package/types/src/extensions-shared/suggestion/SuggestionItem.d.ts +0 -3
  110. package/types/src/extensions-shared/suggestion/SuggestionPlugin.d.ts +0 -36
  111. /package/src/{assets → fonts}/inter-v12-latin/inter-v12-latin-100.woff +0 -0
  112. /package/src/{assets → fonts}/inter-v12-latin/inter-v12-latin-100.woff2 +0 -0
  113. /package/src/{assets → fonts}/inter-v12-latin/inter-v12-latin-200.woff +0 -0
  114. /package/src/{assets → fonts}/inter-v12-latin/inter-v12-latin-200.woff2 +0 -0
  115. /package/src/{assets → fonts}/inter-v12-latin/inter-v12-latin-300.woff +0 -0
  116. /package/src/{assets → fonts}/inter-v12-latin/inter-v12-latin-300.woff2 +0 -0
  117. /package/src/{assets → fonts}/inter-v12-latin/inter-v12-latin-500.woff +0 -0
  118. /package/src/{assets → fonts}/inter-v12-latin/inter-v12-latin-500.woff2 +0 -0
  119. /package/src/{assets → fonts}/inter-v12-latin/inter-v12-latin-600.woff +0 -0
  120. /package/src/{assets → fonts}/inter-v12-latin/inter-v12-latin-600.woff2 +0 -0
  121. /package/src/{assets → fonts}/inter-v12-latin/inter-v12-latin-700.woff +0 -0
  122. /package/src/{assets → fonts}/inter-v12-latin/inter-v12-latin-700.woff2 +0 -0
  123. /package/src/{assets → fonts}/inter-v12-latin/inter-v12-latin-800.woff +0 -0
  124. /package/src/{assets → fonts}/inter-v12-latin/inter-v12-latin-800.woff2 +0 -0
  125. /package/src/{assets → fonts}/inter-v12-latin/inter-v12-latin-900.woff +0 -0
  126. /package/src/{assets → fonts}/inter-v12-latin/inter-v12-latin-900.woff2 +0 -0
  127. /package/src/{assets → fonts}/inter-v12-latin/inter-v12-latin-regular.woff +0 -0
  128. /package/src/{assets → fonts}/inter-v12-latin/inter-v12-latin-regular.woff2 +0 -0
  129. /package/src/{assets/fonts-inter.css → fonts/inter.css} +0 -0
@@ -1,7 +1,7 @@
1
1
  import { EditorTestCases } from "../index";
2
2
  import { DefaultInlineContentSchema, DefaultStyleSchema } from "../../../blocks/defaultBlocks";
3
- import { BlockSchemaFromSpecs } from "../../../schema/blocks/types";
4
- declare const customSpecs: {
3
+ import { BlockNoteSchema } from "../../../editor/BlockNoteSchema";
4
+ declare const schema: BlockNoteSchema<import("../../..").BlockSchemaFromSpecs<{
5
5
  simpleImage: {
6
6
  config: {
7
7
  type: "simpleImage";
@@ -25,7 +25,7 @@ declare const customSpecs: {
25
25
  };
26
26
  content: "none";
27
27
  };
28
- implementation: import("../../../schema/blocks/types").TiptapBlockImplementation<{
28
+ implementation: import("../../..").TiptapBlockImplementation<{
29
29
  type: "simpleImage";
30
30
  propSchema: {
31
31
  textAlignment: {
@@ -65,7 +65,7 @@ declare const customSpecs: {
65
65
  };
66
66
  content: "inline";
67
67
  };
68
- implementation: import("../../../schema/blocks/types").TiptapBlockImplementation<{
68
+ implementation: import("../../..").TiptapBlockImplementation<{
69
69
  type: "customParagraph";
70
70
  propSchema: {
71
71
  backgroundColor: {
@@ -99,7 +99,7 @@ declare const customSpecs: {
99
99
  };
100
100
  content: "inline";
101
101
  };
102
- implementation: import("../../../schema/blocks/types").TiptapBlockImplementation<{
102
+ implementation: import("../../..").TiptapBlockImplementation<{
103
103
  type: "simpleCustomParagraph";
104
104
  propSchema: {
105
105
  backgroundColor: {
@@ -133,7 +133,7 @@ declare const customSpecs: {
133
133
  };
134
134
  };
135
135
  };
136
- implementation: import("../../../schema/blocks/types").TiptapBlockImplementation<{
136
+ implementation: import("../../..").TiptapBlockImplementation<{
137
137
  type: "paragraph";
138
138
  content: "inline";
139
139
  propSchema: {
@@ -171,7 +171,7 @@ declare const customSpecs: {
171
171
  };
172
172
  };
173
173
  };
174
- implementation: import("../../../schema/blocks/types").TiptapBlockImplementation<{
174
+ implementation: import("../../..").TiptapBlockImplementation<{
175
175
  type: "heading";
176
176
  content: "inline";
177
177
  propSchema: {
@@ -209,7 +209,7 @@ declare const customSpecs: {
209
209
  };
210
210
  };
211
211
  };
212
- implementation: import("../../../schema/blocks/types").TiptapBlockImplementation<{
212
+ implementation: import("../../..").TiptapBlockImplementation<{
213
213
  type: "bulletListItem";
214
214
  content: "inline";
215
215
  propSchema: {
@@ -243,7 +243,7 @@ declare const customSpecs: {
243
243
  };
244
244
  };
245
245
  };
246
- implementation: import("../../../schema/blocks/types").TiptapBlockImplementation<{
246
+ implementation: import("../../..").TiptapBlockImplementation<{
247
247
  type: "numberedListItem";
248
248
  content: "inline";
249
249
  propSchema: {
@@ -283,7 +283,7 @@ declare const customSpecs: {
283
283
  };
284
284
  content: "none";
285
285
  };
286
- implementation: import("../../../schema/blocks/types").TiptapBlockImplementation<{
286
+ implementation: import("../../..").TiptapBlockImplementation<{
287
287
  type: "image";
288
288
  propSchema: {
289
289
  textAlignment: {
@@ -323,7 +323,7 @@ declare const customSpecs: {
323
323
  };
324
324
  };
325
325
  };
326
- implementation: import("../../../schema/blocks/types").TiptapBlockImplementation<{
326
+ implementation: import("../../..").TiptapBlockImplementation<{
327
327
  type: "table";
328
328
  content: "table";
329
329
  propSchema: {
@@ -340,6 +340,65 @@ declare const customSpecs: {
340
340
  };
341
341
  }, any, import("../../..").InlineContentSchema, import("../../..").StyleSchema>;
342
342
  };
343
- };
344
- export declare const customBlocksTestCases: EditorTestCases<BlockSchemaFromSpecs<typeof customSpecs>, DefaultInlineContentSchema, DefaultStyleSchema>;
343
+ }>, import("../../..").InlineContentSchemaFromSpecs<{
344
+ text: {
345
+ config: "text";
346
+ implementation: any;
347
+ };
348
+ link: {
349
+ config: "link";
350
+ implementation: any;
351
+ };
352
+ }>, import("../../..").StyleSchemaFromSpecs<{
353
+ bold: {
354
+ config: {
355
+ type: string;
356
+ propSchema: "boolean";
357
+ };
358
+ implementation: import("../../..").StyleImplementation;
359
+ };
360
+ italic: {
361
+ config: {
362
+ type: string;
363
+ propSchema: "boolean";
364
+ };
365
+ implementation: import("../../..").StyleImplementation;
366
+ };
367
+ underline: {
368
+ config: {
369
+ type: string;
370
+ propSchema: "boolean";
371
+ };
372
+ implementation: import("../../..").StyleImplementation;
373
+ };
374
+ strike: {
375
+ config: {
376
+ type: string;
377
+ propSchema: "boolean";
378
+ };
379
+ implementation: import("../../..").StyleImplementation;
380
+ };
381
+ code: {
382
+ config: {
383
+ type: string;
384
+ propSchema: "boolean";
385
+ };
386
+ implementation: import("../../..").StyleImplementation;
387
+ };
388
+ textColor: {
389
+ config: {
390
+ type: string;
391
+ propSchema: "string";
392
+ };
393
+ implementation: import("../../..").StyleImplementation;
394
+ };
395
+ backgroundColor: {
396
+ config: {
397
+ type: string;
398
+ propSchema: "string";
399
+ };
400
+ implementation: import("../../..").StyleImplementation;
401
+ };
402
+ }>>;
403
+ export declare const customBlocksTestCases: EditorTestCases<typeof schema.blockSchema, DefaultInlineContentSchema, DefaultStyleSchema>;
345
404
  export {};
@@ -1,8 +1,233 @@
1
1
  import { EditorTestCases } from "../index";
2
2
  import { DefaultBlockSchema, DefaultStyleSchema } from "../../../blocks/defaultBlocks";
3
- import { InlineContentSchemaFromSpecs } from "../../../schema/inlineContent/types";
4
- declare const customInlineContent: {
5
- mention: import("../../../schema/inlineContent/types").InlineContentSpec<{
3
+ import { BlockNoteSchema } from "../../../editor/BlockNoteSchema";
4
+ declare const schema: BlockNoteSchema<import("../../..").BlockSchemaFromSpecs<{
5
+ paragraph: {
6
+ config: {
7
+ type: "paragraph";
8
+ content: "inline";
9
+ propSchema: {
10
+ backgroundColor: {
11
+ default: "default";
12
+ };
13
+ textColor: {
14
+ default: "default";
15
+ };
16
+ textAlignment: {
17
+ default: "left";
18
+ values: readonly ["left", "center", "right", "justify"];
19
+ };
20
+ };
21
+ };
22
+ implementation: import("../../..").TiptapBlockImplementation<{
23
+ type: "paragraph";
24
+ content: "inline";
25
+ propSchema: {
26
+ backgroundColor: {
27
+ default: "default";
28
+ };
29
+ textColor: {
30
+ default: "default";
31
+ };
32
+ textAlignment: {
33
+ default: "left";
34
+ values: readonly ["left", "center", "right", "justify"];
35
+ };
36
+ };
37
+ }, any, import("../../..").InlineContentSchema, import("../../..").StyleSchema>;
38
+ };
39
+ heading: {
40
+ config: {
41
+ type: "heading";
42
+ content: "inline";
43
+ propSchema: {
44
+ level: {
45
+ default: number;
46
+ values: readonly [1, 2, 3];
47
+ };
48
+ backgroundColor: {
49
+ default: "default";
50
+ };
51
+ textColor: {
52
+ default: "default";
53
+ };
54
+ textAlignment: {
55
+ default: "left";
56
+ values: readonly ["left", "center", "right", "justify"];
57
+ };
58
+ };
59
+ };
60
+ implementation: import("../../..").TiptapBlockImplementation<{
61
+ type: "heading";
62
+ content: "inline";
63
+ propSchema: {
64
+ level: {
65
+ default: number;
66
+ values: readonly [1, 2, 3];
67
+ };
68
+ backgroundColor: {
69
+ default: "default";
70
+ };
71
+ textColor: {
72
+ default: "default";
73
+ };
74
+ textAlignment: {
75
+ default: "left";
76
+ values: readonly ["left", "center", "right", "justify"];
77
+ };
78
+ };
79
+ }, any, import("../../..").InlineContentSchema, import("../../..").StyleSchema>;
80
+ };
81
+ bulletListItem: {
82
+ config: {
83
+ type: "bulletListItem";
84
+ content: "inline";
85
+ propSchema: {
86
+ backgroundColor: {
87
+ default: "default";
88
+ };
89
+ textColor: {
90
+ default: "default";
91
+ };
92
+ textAlignment: {
93
+ default: "left";
94
+ values: readonly ["left", "center", "right", "justify"];
95
+ };
96
+ };
97
+ };
98
+ implementation: import("../../..").TiptapBlockImplementation<{
99
+ type: "bulletListItem";
100
+ content: "inline";
101
+ propSchema: {
102
+ backgroundColor: {
103
+ default: "default";
104
+ };
105
+ textColor: {
106
+ default: "default";
107
+ };
108
+ textAlignment: {
109
+ default: "left";
110
+ values: readonly ["left", "center", "right", "justify"];
111
+ };
112
+ };
113
+ }, any, import("../../..").InlineContentSchema, import("../../..").StyleSchema>;
114
+ };
115
+ numberedListItem: {
116
+ config: {
117
+ type: "numberedListItem";
118
+ content: "inline";
119
+ propSchema: {
120
+ backgroundColor: {
121
+ default: "default";
122
+ };
123
+ textColor: {
124
+ default: "default";
125
+ };
126
+ textAlignment: {
127
+ default: "left";
128
+ values: readonly ["left", "center", "right", "justify"];
129
+ };
130
+ };
131
+ };
132
+ implementation: import("../../..").TiptapBlockImplementation<{
133
+ type: "numberedListItem";
134
+ content: "inline";
135
+ propSchema: {
136
+ backgroundColor: {
137
+ default: "default";
138
+ };
139
+ textColor: {
140
+ default: "default";
141
+ };
142
+ textAlignment: {
143
+ default: "left";
144
+ values: readonly ["left", "center", "right", "justify"];
145
+ };
146
+ };
147
+ }, any, import("../../..").InlineContentSchema, import("../../..").StyleSchema>;
148
+ };
149
+ image: {
150
+ config: {
151
+ type: "image";
152
+ propSchema: {
153
+ textAlignment: {
154
+ default: "left";
155
+ values: readonly ["left", "center", "right", "justify"];
156
+ };
157
+ backgroundColor: {
158
+ default: "default";
159
+ };
160
+ url: {
161
+ default: "";
162
+ };
163
+ caption: {
164
+ default: "";
165
+ };
166
+ width: {
167
+ default: 512;
168
+ };
169
+ };
170
+ content: "none";
171
+ };
172
+ implementation: import("../../..").TiptapBlockImplementation<{
173
+ type: "image";
174
+ propSchema: {
175
+ textAlignment: {
176
+ default: "left";
177
+ values: readonly ["left", "center", "right", "justify"];
178
+ };
179
+ backgroundColor: {
180
+ default: "default";
181
+ };
182
+ url: {
183
+ default: "";
184
+ };
185
+ caption: {
186
+ default: "";
187
+ };
188
+ width: {
189
+ default: 512;
190
+ };
191
+ };
192
+ content: "none";
193
+ }, any, import("../../..").InlineContentSchema, import("../../..").StyleSchema>;
194
+ };
195
+ table: {
196
+ config: {
197
+ type: "table";
198
+ content: "table";
199
+ propSchema: {
200
+ backgroundColor: {
201
+ default: "default";
202
+ };
203
+ textColor: {
204
+ default: "default";
205
+ };
206
+ textAlignment: {
207
+ default: "left";
208
+ values: readonly ["left", "center", "right", "justify"];
209
+ };
210
+ };
211
+ };
212
+ implementation: import("../../..").TiptapBlockImplementation<{
213
+ type: "table";
214
+ content: "table";
215
+ propSchema: {
216
+ backgroundColor: {
217
+ default: "default";
218
+ };
219
+ textColor: {
220
+ default: "default";
221
+ };
222
+ textAlignment: {
223
+ default: "left";
224
+ values: readonly ["left", "center", "right", "justify"];
225
+ };
226
+ };
227
+ }, any, import("../../..").InlineContentSchema, import("../../..").StyleSchema>;
228
+ };
229
+ }>, import("../../..").InlineContentSchemaFromSpecs<{
230
+ mention: import("../../..").InlineContentSpec<{
6
231
  type: "mention";
7
232
  propSchema: {
8
233
  user: {
@@ -11,7 +236,7 @@ declare const customInlineContent: {
11
236
  };
12
237
  content: "none";
13
238
  }>;
14
- tag: import("../../../schema/inlineContent/types").InlineContentSpec<{
239
+ tag: import("../../..").InlineContentSpec<{
15
240
  type: "tag";
16
241
  propSchema: {};
17
242
  content: "styled";
@@ -24,6 +249,56 @@ declare const customInlineContent: {
24
249
  config: "link";
25
250
  implementation: any;
26
251
  };
27
- };
28
- export declare const customInlineContentTestCases: EditorTestCases<DefaultBlockSchema, InlineContentSchemaFromSpecs<typeof customInlineContent>, DefaultStyleSchema>;
252
+ }>, import("../../..").StyleSchemaFromSpecs<{
253
+ bold: {
254
+ config: {
255
+ type: string;
256
+ propSchema: "boolean";
257
+ };
258
+ implementation: import("../../..").StyleImplementation;
259
+ };
260
+ italic: {
261
+ config: {
262
+ type: string;
263
+ propSchema: "boolean";
264
+ };
265
+ implementation: import("../../..").StyleImplementation;
266
+ };
267
+ underline: {
268
+ config: {
269
+ type: string;
270
+ propSchema: "boolean";
271
+ };
272
+ implementation: import("../../..").StyleImplementation;
273
+ };
274
+ strike: {
275
+ config: {
276
+ type: string;
277
+ propSchema: "boolean";
278
+ };
279
+ implementation: import("../../..").StyleImplementation;
280
+ };
281
+ code: {
282
+ config: {
283
+ type: string;
284
+ propSchema: "boolean";
285
+ };
286
+ implementation: import("../../..").StyleImplementation;
287
+ };
288
+ textColor: {
289
+ config: {
290
+ type: string;
291
+ propSchema: "string";
292
+ };
293
+ implementation: import("../../..").StyleImplementation;
294
+ };
295
+ backgroundColor: {
296
+ config: {
297
+ type: string;
298
+ propSchema: "string";
299
+ };
300
+ implementation: import("../../..").StyleImplementation;
301
+ };
302
+ }>>;
303
+ export declare const customInlineContentTestCases: EditorTestCases<DefaultBlockSchema, typeof schema.inlineContentSchema, DefaultStyleSchema>;
29
304
  export {};