@blocknote/xl-ai 0.51.4 → 0.52.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.
- package/dist/blocknote-xl-ai.cjs +1 -1
- package/dist/blocknote-xl-ai.cjs.map +1 -1
- package/dist/blocknote-xl-ai.js +503 -107
- package/dist/blocknote-xl-ai.js.map +1 -1
- package/dist/locales.cjs.map +1 -1
- package/dist/locales.js.map +1 -1
- package/dist/{server-JIYg7ELG.js → server-CafGbRLa.js} +35 -31
- package/dist/server-CafGbRLa.js.map +1 -0
- package/dist/server-CxZHspeS.cjs +36 -0
- package/dist/server-CxZHspeS.cjs.map +1 -0
- package/dist/server.cjs +1 -1
- package/dist/server.js +1 -2
- package/dist/style.css +1 -1
- package/dist/webpack-stats.json +1 -1
- package/package.json +12 -25
- package/src/AIExtension.ts +12 -7
- package/src/api/formats/base-tools/createAddBlocksTool.ts +4 -4
- package/src/api/formats/base-tools/createUpdateBlockTool.ts +4 -4
- package/src/api/formats/html-blocks/columnContainerDocumentState.test.ts +1 -1
- package/src/api/formats/html-blocks/htmlBlocks.test.ts +6 -8
- package/src/api/formats/html-blocks/tools/getPartialHTML.test.ts +1 -1
- package/src/api/formats/html-blocks/tools/index.ts +15 -21
- package/src/api/formats/html-blocks/tools/rebaseTool.ts +3 -3
- package/src/api/formats/json/errorHandling.test.ts +8 -1
- package/src/api/formats/json/json.test.ts +1 -1
- package/src/api/formats/json/tools/index.ts +4 -4
- package/src/api/formats/json/tools/jsontools.test.ts +1 -1
- package/src/api/formats/markdown-blocks/markdownBlocks.test.ts +1 -1
- package/src/api/formats/markdown-blocks/tools/index.ts +9 -11
- package/src/api/formats/markdown-blocks/tools/rebaseTool.ts +3 -3
- package/src/api/formats/tests/sharedTestCases.ts +2 -3
- package/src/api/formats/tests/snapshotPath.ts +2 -2
- package/src/api/formats/tests/validateTestEnvironment.test.ts +1 -1
- package/src/api/promptHelpers/suffixIds.ts +1 -1
- package/src/api/schema/__snapshots__/schemaToJSONSchema.test.ts.snap +1 -1
- package/src/api/schema/schemaToJSONSchema.test.ts +3 -3
- package/src/api/schema/schemaToJSONSchema.ts +5 -3
- package/src/components/AIMenu/PromptSuggestionMenu.tsx +1 -1
- package/src/plugins/AgentCursorPlugin.ts +8 -1
- package/src/prosemirror/AttributionMarks.ts +204 -0
- package/src/prosemirror/__snapshots__/agent.test.ts.snap +16 -265
- package/src/prosemirror/__snapshots__/rebaseTool.test.ts.snap +4 -4
- package/src/prosemirror/agent.test.ts +8 -10
- package/src/prosemirror/agent.ts +1 -1
- package/src/prosemirror/changeset.test.ts +1 -1
- package/src/prosemirror/fragmentUtil.test.ts +1 -1
- package/src/prosemirror/rebaseTool.test.ts +8 -3
- package/src/server.ts +0 -1
- package/src/streamTool/filterNewOrUpdatedOperations.test.ts +1 -1
- package/src/streamTool/filterValidOperations.test.ts +1 -1
- package/src/streamTool/preprocess.test.ts +1 -1
- package/src/streamTool/toValidatedOperations.test.ts +1 -1
- package/src/streamTool/vercelAiSdk/clientside/ClientSideTransport.ts +8 -5
- package/src/streamTool/vercelAiSdk/util/appendableStream.test.ts +15 -15
- package/src/streamTool/vercelAiSdk/util/chatHandlers.test.ts +10 -1
- package/src/streamTool/vercelAiSdk/util/chatHandlers.ts +7 -7
- package/src/style.css +0 -19
- package/src/testUtil/suggestChangesTestUtil.ts +1 -1
- package/src/util/stream.ts +1 -1
- package/src/vite-env.d.ts +1 -0
- package/types/src/AIExtension.d.ts +4 -0
- package/types/src/api/formats/base-tools/createAddBlocksTool.d.ts +2 -2
- package/types/src/api/formats/base-tools/createUpdateBlockTool.d.ts +2 -2
- package/types/src/api/formats/formats.d.ts +3 -3
- package/types/src/api/formats/html-blocks/tools/rebaseTool.d.ts +2 -2
- package/types/src/api/formats/json/json.d.ts +3 -3
- package/types/src/api/formats/markdown-blocks/tools/rebaseTool.d.ts +2 -2
- package/types/src/api/schema/schemaToJSONSchema.d.ts +3 -3
- package/types/src/prosemirror/AttributionMarks.d.ts +15 -0
- package/types/src/testUtil/cases/editors/blockFormatting.d.ts +17 -17
- package/types/src/testUtil/cases/editors/formattingAndMentions.d.ts +17 -17
- package/types/src/testUtil/cases/editors/simpleEditor.d.ts +51 -51
- package/types/src/testUtil/cases/editors/tables.d.ts +17 -17
- package/types/src/testUtil/cases/schemas/mention.d.ts +17 -17
- package/dist/server-D-Xyj9BS.cjs +0 -36
- package/dist/server-D-Xyj9BS.cjs.map +0 -1
- package/dist/server-JIYg7ELG.js.map +0 -1
|
@@ -30,10 +30,6 @@ export declare function getEditorWithBlockFormatting(): BlockNoteEditor<import("
|
|
|
30
30
|
};
|
|
31
31
|
}, "inline">;
|
|
32
32
|
readonly checkListItem: import("@blocknote/core").BlockSpec<"checkListItem", {
|
|
33
|
-
readonly checked: {
|
|
34
|
-
readonly default: false;
|
|
35
|
-
readonly type: "boolean";
|
|
36
|
-
};
|
|
37
33
|
readonly backgroundColor: {
|
|
38
34
|
default: "default";
|
|
39
35
|
};
|
|
@@ -44,12 +40,16 @@ export declare function getEditorWithBlockFormatting(): BlockNoteEditor<import("
|
|
|
44
40
|
default: "left";
|
|
45
41
|
values: readonly ["left", "center", "right", "justify"];
|
|
46
42
|
};
|
|
43
|
+
readonly checked: {
|
|
44
|
+
readonly default: false;
|
|
45
|
+
readonly type: "boolean";
|
|
46
|
+
};
|
|
47
47
|
}, "inline">;
|
|
48
48
|
readonly codeBlock: import("@blocknote/core").BlockSpec<"codeBlock", {
|
|
49
49
|
readonly language: {
|
|
50
50
|
readonly default: string;
|
|
51
51
|
};
|
|
52
|
-
}, "
|
|
52
|
+
}, "plain">;
|
|
53
53
|
readonly divider: import("@blocknote/core").BlockSpec<"divider", {}, "none">;
|
|
54
54
|
readonly file: import("@blocknote/core").BlockSpec<"file", {
|
|
55
55
|
readonly backgroundColor: {
|
|
@@ -66,14 +66,6 @@ export declare function getEditorWithBlockFormatting(): BlockNoteEditor<import("
|
|
|
66
66
|
};
|
|
67
67
|
}, "none">;
|
|
68
68
|
readonly heading: import("@blocknote/core").BlockSpec<"heading", {
|
|
69
|
-
readonly isToggleable?: {
|
|
70
|
-
readonly default: false;
|
|
71
|
-
readonly optional: true;
|
|
72
|
-
} | undefined;
|
|
73
|
-
readonly level: {
|
|
74
|
-
readonly default: 1 | 4 | 2 | 3 | 5 | 6;
|
|
75
|
-
readonly values: readonly number[];
|
|
76
|
-
};
|
|
77
69
|
readonly backgroundColor: {
|
|
78
70
|
default: "default";
|
|
79
71
|
};
|
|
@@ -84,6 +76,14 @@ export declare function getEditorWithBlockFormatting(): BlockNoteEditor<import("
|
|
|
84
76
|
default: "left";
|
|
85
77
|
values: readonly ["left", "center", "right", "justify"];
|
|
86
78
|
};
|
|
79
|
+
readonly level: {
|
|
80
|
+
readonly default: 1 | 2 | 3 | 4 | 5 | 6;
|
|
81
|
+
readonly values: readonly number[];
|
|
82
|
+
};
|
|
83
|
+
readonly isToggleable?: {
|
|
84
|
+
readonly default: false;
|
|
85
|
+
readonly optional: true;
|
|
86
|
+
} | undefined;
|
|
87
87
|
}, "inline">;
|
|
88
88
|
readonly image: import("@blocknote/core").BlockSpec<"image", {
|
|
89
89
|
readonly textAlignment: {
|
|
@@ -111,10 +111,6 @@ export declare function getEditorWithBlockFormatting(): BlockNoteEditor<import("
|
|
|
111
111
|
};
|
|
112
112
|
}, "none">;
|
|
113
113
|
readonly numberedListItem: import("@blocknote/core").BlockSpec<"numberedListItem", {
|
|
114
|
-
readonly start: {
|
|
115
|
-
readonly default: undefined;
|
|
116
|
-
readonly type: "number";
|
|
117
|
-
};
|
|
118
114
|
readonly backgroundColor: {
|
|
119
115
|
default: "default";
|
|
120
116
|
};
|
|
@@ -125,6 +121,10 @@ export declare function getEditorWithBlockFormatting(): BlockNoteEditor<import("
|
|
|
125
121
|
default: "left";
|
|
126
122
|
values: readonly ["left", "center", "right", "justify"];
|
|
127
123
|
};
|
|
124
|
+
readonly start: {
|
|
125
|
+
readonly default: undefined;
|
|
126
|
+
readonly type: "number";
|
|
127
|
+
};
|
|
128
128
|
}, "inline">;
|
|
129
129
|
readonly paragraph: import("@blocknote/core").BlockSpec<"paragraph", {
|
|
130
130
|
backgroundColor: {
|
|
@@ -30,10 +30,6 @@ export declare function getEditorWithFormattingAndMentions(): BlockNoteEditor<im
|
|
|
30
30
|
};
|
|
31
31
|
}, "inline">;
|
|
32
32
|
readonly checkListItem: import("@blocknote/core").BlockSpec<"checkListItem", {
|
|
33
|
-
readonly checked: {
|
|
34
|
-
readonly default: false;
|
|
35
|
-
readonly type: "boolean";
|
|
36
|
-
};
|
|
37
33
|
readonly backgroundColor: {
|
|
38
34
|
default: "default";
|
|
39
35
|
};
|
|
@@ -44,12 +40,16 @@ export declare function getEditorWithFormattingAndMentions(): BlockNoteEditor<im
|
|
|
44
40
|
default: "left";
|
|
45
41
|
values: readonly ["left", "center", "right", "justify"];
|
|
46
42
|
};
|
|
43
|
+
readonly checked: {
|
|
44
|
+
readonly default: false;
|
|
45
|
+
readonly type: "boolean";
|
|
46
|
+
};
|
|
47
47
|
}, "inline">;
|
|
48
48
|
readonly codeBlock: import("@blocknote/core").BlockSpec<"codeBlock", {
|
|
49
49
|
readonly language: {
|
|
50
50
|
readonly default: string;
|
|
51
51
|
};
|
|
52
|
-
}, "
|
|
52
|
+
}, "plain">;
|
|
53
53
|
readonly divider: import("@blocknote/core").BlockSpec<"divider", {}, "none">;
|
|
54
54
|
readonly file: import("@blocknote/core").BlockSpec<"file", {
|
|
55
55
|
readonly backgroundColor: {
|
|
@@ -66,14 +66,6 @@ export declare function getEditorWithFormattingAndMentions(): BlockNoteEditor<im
|
|
|
66
66
|
};
|
|
67
67
|
}, "none">;
|
|
68
68
|
readonly heading: import("@blocknote/core").BlockSpec<"heading", {
|
|
69
|
-
readonly isToggleable?: {
|
|
70
|
-
readonly default: false;
|
|
71
|
-
readonly optional: true;
|
|
72
|
-
} | undefined;
|
|
73
|
-
readonly level: {
|
|
74
|
-
readonly default: 1 | 4 | 2 | 3 | 5 | 6;
|
|
75
|
-
readonly values: readonly number[];
|
|
76
|
-
};
|
|
77
69
|
readonly backgroundColor: {
|
|
78
70
|
default: "default";
|
|
79
71
|
};
|
|
@@ -84,6 +76,14 @@ export declare function getEditorWithFormattingAndMentions(): BlockNoteEditor<im
|
|
|
84
76
|
default: "left";
|
|
85
77
|
values: readonly ["left", "center", "right", "justify"];
|
|
86
78
|
};
|
|
79
|
+
readonly level: {
|
|
80
|
+
readonly default: 1 | 2 | 3 | 4 | 5 | 6;
|
|
81
|
+
readonly values: readonly number[];
|
|
82
|
+
};
|
|
83
|
+
readonly isToggleable?: {
|
|
84
|
+
readonly default: false;
|
|
85
|
+
readonly optional: true;
|
|
86
|
+
} | undefined;
|
|
87
87
|
}, "inline">;
|
|
88
88
|
readonly image: import("@blocknote/core").BlockSpec<"image", {
|
|
89
89
|
readonly textAlignment: {
|
|
@@ -111,10 +111,6 @@ export declare function getEditorWithFormattingAndMentions(): BlockNoteEditor<im
|
|
|
111
111
|
};
|
|
112
112
|
}, "none">;
|
|
113
113
|
readonly numberedListItem: import("@blocknote/core").BlockSpec<"numberedListItem", {
|
|
114
|
-
readonly start: {
|
|
115
|
-
readonly default: undefined;
|
|
116
|
-
readonly type: "number";
|
|
117
|
-
};
|
|
118
114
|
readonly backgroundColor: {
|
|
119
115
|
default: "default";
|
|
120
116
|
};
|
|
@@ -125,6 +121,10 @@ export declare function getEditorWithFormattingAndMentions(): BlockNoteEditor<im
|
|
|
125
121
|
default: "left";
|
|
126
122
|
values: readonly ["left", "center", "right", "justify"];
|
|
127
123
|
};
|
|
124
|
+
readonly start: {
|
|
125
|
+
readonly default: undefined;
|
|
126
|
+
readonly type: "number";
|
|
127
|
+
};
|
|
128
128
|
}, "inline">;
|
|
129
129
|
readonly paragraph: import("@blocknote/core").BlockSpec<"paragraph", {
|
|
130
130
|
backgroundColor: {
|
|
@@ -30,10 +30,6 @@ export declare function getSimpleEditor(): BlockNoteEditor<import("@blocknote/co
|
|
|
30
30
|
};
|
|
31
31
|
}, "inline">;
|
|
32
32
|
readonly checkListItem: import("@blocknote/core").BlockSpec<"checkListItem", {
|
|
33
|
-
readonly checked: {
|
|
34
|
-
readonly default: false;
|
|
35
|
-
readonly type: "boolean";
|
|
36
|
-
};
|
|
37
33
|
readonly backgroundColor: {
|
|
38
34
|
default: "default";
|
|
39
35
|
};
|
|
@@ -44,12 +40,16 @@ export declare function getSimpleEditor(): BlockNoteEditor<import("@blocknote/co
|
|
|
44
40
|
default: "left";
|
|
45
41
|
values: readonly ["left", "center", "right", "justify"];
|
|
46
42
|
};
|
|
43
|
+
readonly checked: {
|
|
44
|
+
readonly default: false;
|
|
45
|
+
readonly type: "boolean";
|
|
46
|
+
};
|
|
47
47
|
}, "inline">;
|
|
48
48
|
readonly codeBlock: import("@blocknote/core").BlockSpec<"codeBlock", {
|
|
49
49
|
readonly language: {
|
|
50
50
|
readonly default: string;
|
|
51
51
|
};
|
|
52
|
-
}, "
|
|
52
|
+
}, "plain">;
|
|
53
53
|
readonly divider: import("@blocknote/core").BlockSpec<"divider", {}, "none">;
|
|
54
54
|
readonly file: import("@blocknote/core").BlockSpec<"file", {
|
|
55
55
|
readonly backgroundColor: {
|
|
@@ -66,14 +66,6 @@ export declare function getSimpleEditor(): BlockNoteEditor<import("@blocknote/co
|
|
|
66
66
|
};
|
|
67
67
|
}, "none">;
|
|
68
68
|
readonly heading: import("@blocknote/core").BlockSpec<"heading", {
|
|
69
|
-
readonly isToggleable?: {
|
|
70
|
-
readonly default: false;
|
|
71
|
-
readonly optional: true;
|
|
72
|
-
} | undefined;
|
|
73
|
-
readonly level: {
|
|
74
|
-
readonly default: 1 | 4 | 2 | 3 | 5 | 6;
|
|
75
|
-
readonly values: readonly number[];
|
|
76
|
-
};
|
|
77
69
|
readonly backgroundColor: {
|
|
78
70
|
default: "default";
|
|
79
71
|
};
|
|
@@ -84,6 +76,14 @@ export declare function getSimpleEditor(): BlockNoteEditor<import("@blocknote/co
|
|
|
84
76
|
default: "left";
|
|
85
77
|
values: readonly ["left", "center", "right", "justify"];
|
|
86
78
|
};
|
|
79
|
+
readonly level: {
|
|
80
|
+
readonly default: 1 | 2 | 3 | 4 | 5 | 6;
|
|
81
|
+
readonly values: readonly number[];
|
|
82
|
+
};
|
|
83
|
+
readonly isToggleable?: {
|
|
84
|
+
readonly default: false;
|
|
85
|
+
readonly optional: true;
|
|
86
|
+
} | undefined;
|
|
87
87
|
}, "inline">;
|
|
88
88
|
readonly image: import("@blocknote/core").BlockSpec<"image", {
|
|
89
89
|
readonly textAlignment: {
|
|
@@ -111,10 +111,6 @@ export declare function getSimpleEditor(): BlockNoteEditor<import("@blocknote/co
|
|
|
111
111
|
};
|
|
112
112
|
}, "none">;
|
|
113
113
|
readonly numberedListItem: import("@blocknote/core").BlockSpec<"numberedListItem", {
|
|
114
|
-
readonly start: {
|
|
115
|
-
readonly default: undefined;
|
|
116
|
-
readonly type: "number";
|
|
117
|
-
};
|
|
118
114
|
readonly backgroundColor: {
|
|
119
115
|
default: "default";
|
|
120
116
|
};
|
|
@@ -125,6 +121,10 @@ export declare function getSimpleEditor(): BlockNoteEditor<import("@blocknote/co
|
|
|
125
121
|
default: "left";
|
|
126
122
|
values: readonly ["left", "center", "right", "justify"];
|
|
127
123
|
};
|
|
124
|
+
readonly start: {
|
|
125
|
+
readonly default: undefined;
|
|
126
|
+
readonly type: "number";
|
|
127
|
+
};
|
|
128
128
|
}, "inline">;
|
|
129
129
|
readonly paragraph: import("@blocknote/core").BlockSpec<"paragraph", {
|
|
130
130
|
backgroundColor: {
|
|
@@ -298,10 +298,6 @@ export declare function getSimpleEditorWithCursorBetweenBlocks(): BlockNoteEdito
|
|
|
298
298
|
};
|
|
299
299
|
}, "inline">;
|
|
300
300
|
readonly checkListItem: import("@blocknote/core").BlockSpec<"checkListItem", {
|
|
301
|
-
readonly checked: {
|
|
302
|
-
readonly default: false;
|
|
303
|
-
readonly type: "boolean";
|
|
304
|
-
};
|
|
305
301
|
readonly backgroundColor: {
|
|
306
302
|
default: "default";
|
|
307
303
|
};
|
|
@@ -312,12 +308,16 @@ export declare function getSimpleEditorWithCursorBetweenBlocks(): BlockNoteEdito
|
|
|
312
308
|
default: "left";
|
|
313
309
|
values: readonly ["left", "center", "right", "justify"];
|
|
314
310
|
};
|
|
311
|
+
readonly checked: {
|
|
312
|
+
readonly default: false;
|
|
313
|
+
readonly type: "boolean";
|
|
314
|
+
};
|
|
315
315
|
}, "inline">;
|
|
316
316
|
readonly codeBlock: import("@blocknote/core").BlockSpec<"codeBlock", {
|
|
317
317
|
readonly language: {
|
|
318
318
|
readonly default: string;
|
|
319
319
|
};
|
|
320
|
-
}, "
|
|
320
|
+
}, "plain">;
|
|
321
321
|
readonly divider: import("@blocknote/core").BlockSpec<"divider", {}, "none">;
|
|
322
322
|
readonly file: import("@blocknote/core").BlockSpec<"file", {
|
|
323
323
|
readonly backgroundColor: {
|
|
@@ -334,14 +334,6 @@ export declare function getSimpleEditorWithCursorBetweenBlocks(): BlockNoteEdito
|
|
|
334
334
|
};
|
|
335
335
|
}, "none">;
|
|
336
336
|
readonly heading: import("@blocknote/core").BlockSpec<"heading", {
|
|
337
|
-
readonly isToggleable?: {
|
|
338
|
-
readonly default: false;
|
|
339
|
-
readonly optional: true;
|
|
340
|
-
} | undefined;
|
|
341
|
-
readonly level: {
|
|
342
|
-
readonly default: 1 | 4 | 2 | 3 | 5 | 6;
|
|
343
|
-
readonly values: readonly number[];
|
|
344
|
-
};
|
|
345
337
|
readonly backgroundColor: {
|
|
346
338
|
default: "default";
|
|
347
339
|
};
|
|
@@ -352,6 +344,14 @@ export declare function getSimpleEditorWithCursorBetweenBlocks(): BlockNoteEdito
|
|
|
352
344
|
default: "left";
|
|
353
345
|
values: readonly ["left", "center", "right", "justify"];
|
|
354
346
|
};
|
|
347
|
+
readonly level: {
|
|
348
|
+
readonly default: 1 | 2 | 3 | 4 | 5 | 6;
|
|
349
|
+
readonly values: readonly number[];
|
|
350
|
+
};
|
|
351
|
+
readonly isToggleable?: {
|
|
352
|
+
readonly default: false;
|
|
353
|
+
readonly optional: true;
|
|
354
|
+
} | undefined;
|
|
355
355
|
}, "inline">;
|
|
356
356
|
readonly image: import("@blocknote/core").BlockSpec<"image", {
|
|
357
357
|
readonly textAlignment: {
|
|
@@ -379,10 +379,6 @@ export declare function getSimpleEditorWithCursorBetweenBlocks(): BlockNoteEdito
|
|
|
379
379
|
};
|
|
380
380
|
}, "none">;
|
|
381
381
|
readonly numberedListItem: import("@blocknote/core").BlockSpec<"numberedListItem", {
|
|
382
|
-
readonly start: {
|
|
383
|
-
readonly default: undefined;
|
|
384
|
-
readonly type: "number";
|
|
385
|
-
};
|
|
386
382
|
readonly backgroundColor: {
|
|
387
383
|
default: "default";
|
|
388
384
|
};
|
|
@@ -393,6 +389,10 @@ export declare function getSimpleEditorWithCursorBetweenBlocks(): BlockNoteEdito
|
|
|
393
389
|
default: "left";
|
|
394
390
|
values: readonly ["left", "center", "right", "justify"];
|
|
395
391
|
};
|
|
392
|
+
readonly start: {
|
|
393
|
+
readonly default: undefined;
|
|
394
|
+
readonly type: "number";
|
|
395
|
+
};
|
|
396
396
|
}, "inline">;
|
|
397
397
|
readonly paragraph: import("@blocknote/core").BlockSpec<"paragraph", {
|
|
398
398
|
backgroundColor: {
|
|
@@ -566,10 +566,6 @@ export declare function getSimpleEditorSpellingError(): BlockNoteEditor<import("
|
|
|
566
566
|
};
|
|
567
567
|
}, "inline">;
|
|
568
568
|
readonly checkListItem: import("@blocknote/core").BlockSpec<"checkListItem", {
|
|
569
|
-
readonly checked: {
|
|
570
|
-
readonly default: false;
|
|
571
|
-
readonly type: "boolean";
|
|
572
|
-
};
|
|
573
569
|
readonly backgroundColor: {
|
|
574
570
|
default: "default";
|
|
575
571
|
};
|
|
@@ -580,12 +576,16 @@ export declare function getSimpleEditorSpellingError(): BlockNoteEditor<import("
|
|
|
580
576
|
default: "left";
|
|
581
577
|
values: readonly ["left", "center", "right", "justify"];
|
|
582
578
|
};
|
|
579
|
+
readonly checked: {
|
|
580
|
+
readonly default: false;
|
|
581
|
+
readonly type: "boolean";
|
|
582
|
+
};
|
|
583
583
|
}, "inline">;
|
|
584
584
|
readonly codeBlock: import("@blocknote/core").BlockSpec<"codeBlock", {
|
|
585
585
|
readonly language: {
|
|
586
586
|
readonly default: string;
|
|
587
587
|
};
|
|
588
|
-
}, "
|
|
588
|
+
}, "plain">;
|
|
589
589
|
readonly divider: import("@blocknote/core").BlockSpec<"divider", {}, "none">;
|
|
590
590
|
readonly file: import("@blocknote/core").BlockSpec<"file", {
|
|
591
591
|
readonly backgroundColor: {
|
|
@@ -602,14 +602,6 @@ export declare function getSimpleEditorSpellingError(): BlockNoteEditor<import("
|
|
|
602
602
|
};
|
|
603
603
|
}, "none">;
|
|
604
604
|
readonly heading: import("@blocknote/core").BlockSpec<"heading", {
|
|
605
|
-
readonly isToggleable?: {
|
|
606
|
-
readonly default: false;
|
|
607
|
-
readonly optional: true;
|
|
608
|
-
} | undefined;
|
|
609
|
-
readonly level: {
|
|
610
|
-
readonly default: 1 | 4 | 2 | 3 | 5 | 6;
|
|
611
|
-
readonly values: readonly number[];
|
|
612
|
-
};
|
|
613
605
|
readonly backgroundColor: {
|
|
614
606
|
default: "default";
|
|
615
607
|
};
|
|
@@ -620,6 +612,14 @@ export declare function getSimpleEditorSpellingError(): BlockNoteEditor<import("
|
|
|
620
612
|
default: "left";
|
|
621
613
|
values: readonly ["left", "center", "right", "justify"];
|
|
622
614
|
};
|
|
615
|
+
readonly level: {
|
|
616
|
+
readonly default: 1 | 2 | 3 | 4 | 5 | 6;
|
|
617
|
+
readonly values: readonly number[];
|
|
618
|
+
};
|
|
619
|
+
readonly isToggleable?: {
|
|
620
|
+
readonly default: false;
|
|
621
|
+
readonly optional: true;
|
|
622
|
+
} | undefined;
|
|
623
623
|
}, "inline">;
|
|
624
624
|
readonly image: import("@blocknote/core").BlockSpec<"image", {
|
|
625
625
|
readonly textAlignment: {
|
|
@@ -647,10 +647,6 @@ export declare function getSimpleEditorSpellingError(): BlockNoteEditor<import("
|
|
|
647
647
|
};
|
|
648
648
|
}, "none">;
|
|
649
649
|
readonly numberedListItem: import("@blocknote/core").BlockSpec<"numberedListItem", {
|
|
650
|
-
readonly start: {
|
|
651
|
-
readonly default: undefined;
|
|
652
|
-
readonly type: "number";
|
|
653
|
-
};
|
|
654
650
|
readonly backgroundColor: {
|
|
655
651
|
default: "default";
|
|
656
652
|
};
|
|
@@ -661,6 +657,10 @@ export declare function getSimpleEditorSpellingError(): BlockNoteEditor<import("
|
|
|
661
657
|
default: "left";
|
|
662
658
|
values: readonly ["left", "center", "right", "justify"];
|
|
663
659
|
};
|
|
660
|
+
readonly start: {
|
|
661
|
+
readonly default: undefined;
|
|
662
|
+
readonly type: "number";
|
|
663
|
+
};
|
|
664
664
|
}, "inline">;
|
|
665
665
|
readonly paragraph: import("@blocknote/core").BlockSpec<"paragraph", {
|
|
666
666
|
backgroundColor: {
|
|
@@ -30,10 +30,6 @@ export declare function getEditorWithTables(): BlockNoteEditor<import("@blocknot
|
|
|
30
30
|
};
|
|
31
31
|
}, "inline">;
|
|
32
32
|
readonly checkListItem: import("@blocknote/core").BlockSpec<"checkListItem", {
|
|
33
|
-
readonly checked: {
|
|
34
|
-
readonly default: false;
|
|
35
|
-
readonly type: "boolean";
|
|
36
|
-
};
|
|
37
33
|
readonly backgroundColor: {
|
|
38
34
|
default: "default";
|
|
39
35
|
};
|
|
@@ -44,12 +40,16 @@ export declare function getEditorWithTables(): BlockNoteEditor<import("@blocknot
|
|
|
44
40
|
default: "left";
|
|
45
41
|
values: readonly ["left", "center", "right", "justify"];
|
|
46
42
|
};
|
|
43
|
+
readonly checked: {
|
|
44
|
+
readonly default: false;
|
|
45
|
+
readonly type: "boolean";
|
|
46
|
+
};
|
|
47
47
|
}, "inline">;
|
|
48
48
|
readonly codeBlock: import("@blocknote/core").BlockSpec<"codeBlock", {
|
|
49
49
|
readonly language: {
|
|
50
50
|
readonly default: string;
|
|
51
51
|
};
|
|
52
|
-
}, "
|
|
52
|
+
}, "plain">;
|
|
53
53
|
readonly divider: import("@blocknote/core").BlockSpec<"divider", {}, "none">;
|
|
54
54
|
readonly file: import("@blocknote/core").BlockSpec<"file", {
|
|
55
55
|
readonly backgroundColor: {
|
|
@@ -66,14 +66,6 @@ export declare function getEditorWithTables(): BlockNoteEditor<import("@blocknot
|
|
|
66
66
|
};
|
|
67
67
|
}, "none">;
|
|
68
68
|
readonly heading: import("@blocknote/core").BlockSpec<"heading", {
|
|
69
|
-
readonly isToggleable?: {
|
|
70
|
-
readonly default: false;
|
|
71
|
-
readonly optional: true;
|
|
72
|
-
} | undefined;
|
|
73
|
-
readonly level: {
|
|
74
|
-
readonly default: 1 | 4 | 2 | 3 | 5 | 6;
|
|
75
|
-
readonly values: readonly number[];
|
|
76
|
-
};
|
|
77
69
|
readonly backgroundColor: {
|
|
78
70
|
default: "default";
|
|
79
71
|
};
|
|
@@ -84,6 +76,14 @@ export declare function getEditorWithTables(): BlockNoteEditor<import("@blocknot
|
|
|
84
76
|
default: "left";
|
|
85
77
|
values: readonly ["left", "center", "right", "justify"];
|
|
86
78
|
};
|
|
79
|
+
readonly level: {
|
|
80
|
+
readonly default: 1 | 2 | 3 | 4 | 5 | 6;
|
|
81
|
+
readonly values: readonly number[];
|
|
82
|
+
};
|
|
83
|
+
readonly isToggleable?: {
|
|
84
|
+
readonly default: false;
|
|
85
|
+
readonly optional: true;
|
|
86
|
+
} | undefined;
|
|
87
87
|
}, "inline">;
|
|
88
88
|
readonly image: import("@blocknote/core").BlockSpec<"image", {
|
|
89
89
|
readonly textAlignment: {
|
|
@@ -111,10 +111,6 @@ export declare function getEditorWithTables(): BlockNoteEditor<import("@blocknot
|
|
|
111
111
|
};
|
|
112
112
|
}, "none">;
|
|
113
113
|
readonly numberedListItem: import("@blocknote/core").BlockSpec<"numberedListItem", {
|
|
114
|
-
readonly start: {
|
|
115
|
-
readonly default: undefined;
|
|
116
|
-
readonly type: "number";
|
|
117
|
-
};
|
|
118
114
|
readonly backgroundColor: {
|
|
119
115
|
default: "default";
|
|
120
116
|
};
|
|
@@ -125,6 +121,10 @@ export declare function getEditorWithTables(): BlockNoteEditor<import("@blocknot
|
|
|
125
121
|
default: "left";
|
|
126
122
|
values: readonly ["left", "center", "right", "justify"];
|
|
127
123
|
};
|
|
124
|
+
readonly start: {
|
|
125
|
+
readonly default: undefined;
|
|
126
|
+
readonly type: "number";
|
|
127
|
+
};
|
|
128
128
|
}, "inline">;
|
|
129
129
|
readonly paragraph: import("@blocknote/core").BlockSpec<"paragraph", {
|
|
130
130
|
backgroundColor: {
|
|
@@ -38,10 +38,6 @@ export declare const schemaWithMention: import("@blocknote/core").CustomBlockNot
|
|
|
38
38
|
};
|
|
39
39
|
}, "inline">;
|
|
40
40
|
readonly checkListItem: import("@blocknote/core").BlockSpec<"checkListItem", {
|
|
41
|
-
readonly checked: {
|
|
42
|
-
readonly default: false;
|
|
43
|
-
readonly type: "boolean";
|
|
44
|
-
};
|
|
45
41
|
readonly backgroundColor: {
|
|
46
42
|
default: "default";
|
|
47
43
|
};
|
|
@@ -52,12 +48,16 @@ export declare const schemaWithMention: import("@blocknote/core").CustomBlockNot
|
|
|
52
48
|
default: "left";
|
|
53
49
|
values: readonly ["left", "center", "right", "justify"];
|
|
54
50
|
};
|
|
51
|
+
readonly checked: {
|
|
52
|
+
readonly default: false;
|
|
53
|
+
readonly type: "boolean";
|
|
54
|
+
};
|
|
55
55
|
}, "inline">;
|
|
56
56
|
readonly codeBlock: import("@blocknote/core").BlockSpec<"codeBlock", {
|
|
57
57
|
readonly language: {
|
|
58
58
|
readonly default: string;
|
|
59
59
|
};
|
|
60
|
-
}, "
|
|
60
|
+
}, "plain">;
|
|
61
61
|
readonly divider: import("@blocknote/core").BlockSpec<"divider", {}, "none">;
|
|
62
62
|
readonly file: import("@blocknote/core").BlockSpec<"file", {
|
|
63
63
|
readonly backgroundColor: {
|
|
@@ -74,14 +74,6 @@ export declare const schemaWithMention: import("@blocknote/core").CustomBlockNot
|
|
|
74
74
|
};
|
|
75
75
|
}, "none">;
|
|
76
76
|
readonly heading: import("@blocknote/core").BlockSpec<"heading", {
|
|
77
|
-
readonly isToggleable?: {
|
|
78
|
-
readonly default: false;
|
|
79
|
-
readonly optional: true;
|
|
80
|
-
} | undefined;
|
|
81
|
-
readonly level: {
|
|
82
|
-
readonly default: 1 | 4 | 2 | 3 | 5 | 6;
|
|
83
|
-
readonly values: readonly number[];
|
|
84
|
-
};
|
|
85
77
|
readonly backgroundColor: {
|
|
86
78
|
default: "default";
|
|
87
79
|
};
|
|
@@ -92,6 +84,14 @@ export declare const schemaWithMention: import("@blocknote/core").CustomBlockNot
|
|
|
92
84
|
default: "left";
|
|
93
85
|
values: readonly ["left", "center", "right", "justify"];
|
|
94
86
|
};
|
|
87
|
+
readonly level: {
|
|
88
|
+
readonly default: 1 | 2 | 3 | 4 | 5 | 6;
|
|
89
|
+
readonly values: readonly number[];
|
|
90
|
+
};
|
|
91
|
+
readonly isToggleable?: {
|
|
92
|
+
readonly default: false;
|
|
93
|
+
readonly optional: true;
|
|
94
|
+
} | undefined;
|
|
95
95
|
}, "inline">;
|
|
96
96
|
readonly image: import("@blocknote/core").BlockSpec<"image", {
|
|
97
97
|
readonly textAlignment: {
|
|
@@ -119,10 +119,6 @@ export declare const schemaWithMention: import("@blocknote/core").CustomBlockNot
|
|
|
119
119
|
};
|
|
120
120
|
}, "none">;
|
|
121
121
|
readonly numberedListItem: import("@blocknote/core").BlockSpec<"numberedListItem", {
|
|
122
|
-
readonly start: {
|
|
123
|
-
readonly default: undefined;
|
|
124
|
-
readonly type: "number";
|
|
125
|
-
};
|
|
126
122
|
readonly backgroundColor: {
|
|
127
123
|
default: "default";
|
|
128
124
|
};
|
|
@@ -133,6 +129,10 @@ export declare const schemaWithMention: import("@blocknote/core").CustomBlockNot
|
|
|
133
129
|
default: "left";
|
|
134
130
|
values: readonly ["left", "center", "right", "justify"];
|
|
135
131
|
};
|
|
132
|
+
readonly start: {
|
|
133
|
+
readonly default: undefined;
|
|
134
|
+
readonly type: "number";
|
|
135
|
+
};
|
|
136
136
|
}, "inline">;
|
|
137
137
|
readonly paragraph: import("@blocknote/core").BlockSpec<"paragraph", {
|
|
138
138
|
backgroundColor: {
|