@blocknote/core 0.15.2 → 0.15.4

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.
@@ -0,0 +1,239 @@
1
+ export declare const es: {
2
+ slash_menu: {
3
+ heading: {
4
+ title: string;
5
+ subtext: string;
6
+ aliases: string[];
7
+ group: string;
8
+ };
9
+ heading_2: {
10
+ title: string;
11
+ subtext: string;
12
+ aliases: string[];
13
+ group: string;
14
+ };
15
+ heading_3: {
16
+ title: string;
17
+ subtext: string;
18
+ aliases: string[];
19
+ group: string;
20
+ };
21
+ numbered_list: {
22
+ title: string;
23
+ subtext: string;
24
+ aliases: string[];
25
+ group: string;
26
+ };
27
+ bullet_list: {
28
+ title: string;
29
+ subtext: string;
30
+ aliases: string[];
31
+ group: string;
32
+ };
33
+ check_list: {
34
+ title: string;
35
+ subtext: string;
36
+ aliases: string[];
37
+ group: string;
38
+ };
39
+ paragraph: {
40
+ title: string;
41
+ subtext: string;
42
+ aliases: string[];
43
+ group: string;
44
+ };
45
+ table: {
46
+ title: string;
47
+ subtext: string;
48
+ aliases: string[];
49
+ group: string;
50
+ };
51
+ image: {
52
+ title: string;
53
+ subtext: string;
54
+ aliases: string[];
55
+ group: string;
56
+ };
57
+ video: {
58
+ title: string;
59
+ subtext: string;
60
+ aliases: string[];
61
+ group: string;
62
+ };
63
+ audio: {
64
+ title: string;
65
+ subtext: string;
66
+ aliases: string[];
67
+ group: string;
68
+ };
69
+ file: {
70
+ title: string;
71
+ subtext: string;
72
+ aliases: string[];
73
+ group: string;
74
+ };
75
+ emoji: {
76
+ title: string;
77
+ subtext: string;
78
+ aliases: string[];
79
+ group: string;
80
+ };
81
+ };
82
+ placeholders: {
83
+ default: string;
84
+ heading: string;
85
+ bulletListItem: string;
86
+ numberedListItem: string;
87
+ checkListItem: string;
88
+ };
89
+ file_blocks: {
90
+ image: {
91
+ add_button_text: string;
92
+ };
93
+ video: {
94
+ add_button_text: string;
95
+ };
96
+ audio: {
97
+ add_button_text: string;
98
+ };
99
+ file: {
100
+ add_button_text: string;
101
+ };
102
+ };
103
+ side_menu: {
104
+ add_block_label: string;
105
+ drag_handle_label: string;
106
+ };
107
+ drag_handle: {
108
+ delete_menuitem: string;
109
+ colors_menuitem: string;
110
+ };
111
+ table_handle: {
112
+ delete_column_menuitem: string;
113
+ delete_row_menuitem: string;
114
+ add_left_menuitem: string;
115
+ add_right_menuitem: string;
116
+ add_above_menuitem: string;
117
+ add_below_menuitem: string;
118
+ };
119
+ suggestion_menu: {
120
+ no_items_title: string;
121
+ loading: string;
122
+ };
123
+ color_picker: {
124
+ text_title: string;
125
+ background_title: string;
126
+ colors: {
127
+ default: string;
128
+ gray: string;
129
+ brown: string;
130
+ red: string;
131
+ orange: string;
132
+ yellow: string;
133
+ green: string;
134
+ blue: string;
135
+ purple: string;
136
+ pink: string;
137
+ };
138
+ };
139
+ formatting_toolbar: {
140
+ bold: {
141
+ tooltip: string;
142
+ secondary_tooltip: string;
143
+ };
144
+ italic: {
145
+ tooltip: string;
146
+ secondary_tooltip: string;
147
+ };
148
+ underline: {
149
+ tooltip: string;
150
+ secondary_tooltip: string;
151
+ };
152
+ strike: {
153
+ tooltip: string;
154
+ secondary_tooltip: string;
155
+ };
156
+ code: {
157
+ tooltip: string;
158
+ secondary_tooltip: string;
159
+ };
160
+ colors: {
161
+ tooltip: string;
162
+ };
163
+ link: {
164
+ tooltip: string;
165
+ secondary_tooltip: string;
166
+ };
167
+ file_caption: {
168
+ tooltip: string;
169
+ input_placeholder: string;
170
+ };
171
+ file_replace: {
172
+ tooltip: Record<string, string>;
173
+ };
174
+ file_rename: {
175
+ tooltip: Record<string, string>;
176
+ input_placeholder: Record<string, string>;
177
+ };
178
+ file_download: {
179
+ tooltip: Record<string, string>;
180
+ };
181
+ file_delete: {
182
+ tooltip: Record<string, string>;
183
+ };
184
+ file_preview_toggle: {
185
+ tooltip: string;
186
+ };
187
+ nest: {
188
+ tooltip: string;
189
+ secondary_tooltip: string;
190
+ };
191
+ unnest: {
192
+ tooltip: string;
193
+ secondary_tooltip: string;
194
+ };
195
+ align_left: {
196
+ tooltip: string;
197
+ };
198
+ align_center: {
199
+ tooltip: string;
200
+ };
201
+ align_right: {
202
+ tooltip: string;
203
+ };
204
+ align_justify: {
205
+ tooltip: string;
206
+ };
207
+ };
208
+ file_panel: {
209
+ upload: {
210
+ title: string;
211
+ file_placeholder: Record<string, string>;
212
+ upload_error: string;
213
+ };
214
+ embed: {
215
+ title: string;
216
+ embed_button: Record<string, string>;
217
+ url_placeholder: string;
218
+ };
219
+ };
220
+ link_toolbar: {
221
+ delete: {
222
+ tooltip: string;
223
+ };
224
+ edit: {
225
+ text: string;
226
+ tooltip: string;
227
+ };
228
+ open: {
229
+ tooltip: string;
230
+ };
231
+ form: {
232
+ title_placeholder: string;
233
+ url_placeholder: string;
234
+ };
235
+ };
236
+ generic: {
237
+ ctrl_shortcut: string;
238
+ };
239
+ };
@@ -10,3 +10,4 @@ export * from "./pt";
10
10
  export * from "./vi";
11
11
  export * from "./zh";
12
12
  export * from "./ru";
13
+ export * from "./de";
@@ -1,7 +1,7 @@
1
1
  import { Node } from "@tiptap/core";
2
2
  import { PartialBlock } from "../blocks/defaultBlocks";
3
3
  import type { BlockNoteEditor } from "../editor/BlockNoteEditor";
4
- import { BlockNoteDOMAttributes, BlockSchema, InlineContentSchema, StyleSchema } from "../schema";
4
+ import { BlockSchema, InlineContentSchema, StyleSchema } from "../schema";
5
5
  declare module "@tiptap/core" {
6
6
  interface Commands<ReturnType> {
7
7
  block: {
@@ -18,6 +18,12 @@ declare module "@tiptap/core" {
18
18
  * The main "Block node" documents consist of
19
19
  */
20
20
  export declare const BlockContainer: Node<{
21
- domAttributes?: BlockNoteDOMAttributes;
21
+ domAttributes?: Partial<{
22
+ blockGroup: Record<string, string>;
23
+ block: Record<string, string>;
24
+ editor: Record<string, string>;
25
+ blockContent: Record<string, string>;
26
+ inlineContent: Record<string, string>;
27
+ }> | undefined;
22
28
  editor: BlockNoteEditor<any, any, any>;
23
29
  }, any>;
@@ -1,5 +1,10 @@
1
1
  import { Node } from "@tiptap/core";
2
- import { BlockNoteDOMAttributes } from "../schema";
3
2
  export declare const BlockGroup: Node<{
4
- domAttributes?: BlockNoteDOMAttributes;
3
+ domAttributes?: Partial<{
4
+ blockGroup: Record<string, string>;
5
+ block: Record<string, string>;
6
+ editor: Record<string, string>;
7
+ blockContent: Record<string, string>;
8
+ inlineContent: Record<string, string>;
9
+ }> | undefined;
5
10
  }, any>;
@@ -22,7 +22,7 @@ export declare function createInlineContentSpecFromTipTapNode<T extends Node, P
22
22
  content: "styled" | "none";
23
23
  };
24
24
  implementation: {
25
- node: Node;
25
+ node: Node<any, any>;
26
26
  };
27
27
  };
28
28
  export declare function getInlineContentSchemaFromSpecs<T extends InlineContentSpecs>(specs: T): InlineContentSchemaFromSpecs<T>;