@blocknote/core 0.25.2 → 0.27.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 (153) hide show
  1. package/dist/blocknote.cjs +11 -10
  2. package/dist/blocknote.cjs.map +1 -1
  3. package/dist/blocknote.js +3722 -9856
  4. package/dist/blocknote.js.map +1 -1
  5. package/dist/comments.cjs +1 -1
  6. package/dist/comments.cjs.map +1 -1
  7. package/dist/comments.js +45 -44
  8. package/dist/comments.js.map +1 -1
  9. package/dist/en-B7ycW7c8.js +360 -0
  10. package/dist/en-B7ycW7c8.js.map +1 -0
  11. package/dist/en-D4taoCs4.cjs +2 -0
  12. package/dist/en-D4taoCs4.cjs.map +1 -0
  13. package/dist/locales.cjs +2 -0
  14. package/dist/locales.cjs.map +1 -0
  15. package/dist/locales.js +6129 -0
  16. package/dist/locales.js.map +1 -0
  17. package/dist/style.css +1 -1
  18. package/dist/tsconfig.tsbuildinfo +1 -1
  19. package/dist/webpack-stats.json +1 -1
  20. package/package.json +36 -27
  21. package/src/api/clipboard/__snapshots__/internal/basicBlocks.html +1 -1
  22. package/src/api/clipboard/__snapshots__/internal/basicBlocksWithProps.html +1 -1
  23. package/src/api/clipboard/clipboardExternal.test.ts +1 -1
  24. package/src/api/clipboard/clipboardInternal.test.ts +1 -1
  25. package/src/api/clipboard/fromClipboard/acceptedMIMETypes.ts +1 -0
  26. package/src/api/clipboard/fromClipboard/pasteExtension.ts +96 -42
  27. package/src/api/exporters/html/__snapshots__/codeBlock/contains-newlines/external.html +1 -1
  28. package/src/api/exporters/html/__snapshots__/codeBlock/contains-newlines/internal.html +1 -1
  29. package/src/api/exporters/html/__snapshots__/codeBlock/defaultLanguage/external.html +1 -1
  30. package/src/api/exporters/html/__snapshots__/codeBlock/defaultLanguage/internal.html +1 -1
  31. package/src/api/exporters/html/__snapshots__/codeBlock/empty/external.html +1 -1
  32. package/src/api/exporters/html/__snapshots__/codeBlock/empty/internal.html +1 -1
  33. package/src/api/exporters/html/__snapshots__/codeBlock/python/external.html +1 -1
  34. package/src/api/exporters/html/__snapshots__/codeBlock/python/internal.html +1 -1
  35. package/src/api/exporters/html/htmlConversion.test.ts +2 -2
  36. package/src/api/exporters/html/util/serializeBlocksExternalHTML.ts +4 -4
  37. package/src/api/exporters/markdown/__snapshots__/codeBlock/defaultLanguage/markdown.md +1 -1
  38. package/src/api/exporters/markdown/__snapshots__/codeBlock/empty/markdown.md +1 -1
  39. package/src/api/exporters/markdown/__snapshots__/complex/misc/markdown.md +1 -1
  40. package/src/api/exporters/markdown/__snapshots__/lists/basic/markdown.md +8 -6
  41. package/src/api/exporters/markdown/__snapshots__/lists/nested/markdown.md +6 -6
  42. package/src/api/exporters/markdown/markdownExporter.test.ts +2 -2
  43. package/src/api/nodeConversions/__snapshots__/nodeConversions.test.ts.snap +2 -2
  44. package/src/api/nodeConversions/nodeToBlock.ts +1 -0
  45. package/src/api/parsers/html/__snapshots__/parse-2-tables.json +129 -0
  46. package/src/api/parsers/html/__snapshots__/parse-codeblocks.json +1 -1
  47. package/src/api/parsers/html/parseHTML.test.ts +36 -1
  48. package/src/api/parsers/markdown/__snapshots__/pasted/whitespace bold.json +42 -0
  49. package/src/api/parsers/markdown/__snapshots__/whitespace bold.json +19 -0
  50. package/src/api/parsers/markdown/detectMarkdown.ts +60 -0
  51. package/src/api/parsers/markdown/parseMarkdown.test.ts +7 -2
  52. package/src/api/parsers/markdown/parseMarkdown.ts +19 -18
  53. package/src/api/testUtil/cases/defaultSchema.ts +13 -0
  54. package/src/blocks/CodeBlockContent/CodeBlockContent.ts +100 -69
  55. package/src/blocks/QuoteBlockContent/QuoteBlockContent.ts +98 -0
  56. package/src/blocks/TableBlockContent/TableExtension.ts +1 -1
  57. package/src/blocks/defaultBlocks.ts +2 -2
  58. package/src/comments/threadstore/yjs/YjsThreadStore.ts +1 -0
  59. package/src/comments/threadstore/yjs/yjsHelpers.ts +3 -1
  60. package/src/comments/types.ts +4 -0
  61. package/src/editor/Block.css +14 -1
  62. package/src/editor/BlockNoteEditor.ts +103 -11
  63. package/src/editor/BlockNoteExtensions.ts +18 -4
  64. package/src/editor/BlockNoteTipTapEditor.ts +18 -7
  65. package/src/extensions/Comments/CommentsPlugin.ts +77 -30
  66. package/src/extensions/HardBreak/HardBreak.ts +35 -0
  67. package/src/extensions/KeyboardShortcuts/KeyboardShortcutsExtension.ts +100 -3
  68. package/src/extensions/SideMenu/dragging.ts +13 -0
  69. package/src/extensions/SuggestionMenu/SuggestionPlugin.ts +3 -1
  70. package/src/extensions/SuggestionMenu/getDefaultSlashMenuItems.ts +18 -2
  71. package/src/extensions/TableHandles/TableHandlesPlugin.ts +24 -23
  72. package/src/i18n/index.ts +2 -0
  73. package/src/i18n/locales/ar.ts +10 -0
  74. package/src/i18n/locales/de.ts +21 -1
  75. package/src/i18n/locales/en.ts +10 -0
  76. package/src/i18n/locales/es.ts +21 -1
  77. package/src/i18n/locales/fr.ts +10 -0
  78. package/src/i18n/locales/hr.ts +27 -4
  79. package/src/i18n/locales/is.ts +10 -0
  80. package/src/i18n/locales/it.ts +21 -1
  81. package/src/i18n/locales/ja.ts +10 -0
  82. package/src/i18n/locales/ko.ts +10 -0
  83. package/src/i18n/locales/nl.ts +10 -0
  84. package/src/i18n/locales/no.ts +10 -0
  85. package/src/i18n/locales/pl.ts +10 -0
  86. package/src/i18n/locales/pt.ts +10 -0
  87. package/src/i18n/locales/ru.ts +10 -0
  88. package/src/i18n/locales/uk.ts +10 -0
  89. package/src/i18n/locales/vi.ts +10 -0
  90. package/src/i18n/locales/zh.ts +10 -0
  91. package/src/index.ts +2 -3
  92. package/src/locales.ts +1 -0
  93. package/src/schema/blocks/types.ts +1 -0
  94. package/types/src/api/blockManipulation/commands/updateBlock/updateBlock.d.ts +1 -1
  95. package/types/src/api/blockManipulation/setupTestEnv.d.ts +34 -2
  96. package/types/src/api/clipboard/fromClipboard/acceptedMIMETypes.d.ts +1 -1
  97. package/types/src/api/clipboard/fromClipboard/fileDropExtension.d.ts +2 -2
  98. package/types/src/api/clipboard/fromClipboard/pasteExtension.d.ts +3 -3
  99. package/types/src/api/clipboard/testUtil.d.ts +66 -34
  100. package/types/src/api/clipboard/toClipboard/copyExtension.d.ts +1 -1
  101. package/types/src/api/exporters/html/externalHTMLExporter.d.ts +2 -2
  102. package/types/src/api/exporters/html/internalHTMLSerializer.d.ts +2 -2
  103. package/types/src/api/exporters/html/util/serializeBlocksExternalHTML.d.ts +1 -1
  104. package/types/src/api/exporters/html/util/serializeBlocksInternalHTML.d.ts +1 -1
  105. package/types/src/api/parsers/markdown/detectMarkdown.d.ts +6 -0
  106. package/types/src/api/parsers/markdown/parseMarkdown.d.ts +1 -0
  107. package/types/src/api/testUtil/cases/customBlocks.d.ts +72 -40
  108. package/types/src/api/testUtil/cases/customInlineContent.d.ts +34 -2
  109. package/types/src/api/testUtil/cases/customStyles.d.ts +34 -2
  110. package/types/src/blocks/AudioBlockContent/AudioBlockContent.d.ts +3 -3
  111. package/types/src/blocks/CodeBlockContent/CodeBlockContent.d.ts +46 -34
  112. package/types/src/blocks/FileBlockContent/FileBlockContent.d.ts +3 -3
  113. package/types/src/blocks/FileBlockContent/helpers/render/createFileBlockWrapper.d.ts +1 -1
  114. package/types/src/blocks/HeadingBlockContent/HeadingBlockContent.d.ts +2 -2
  115. package/types/src/blocks/ImageBlockContent/ImageBlockContent.d.ts +2 -2
  116. package/types/src/blocks/ListItemBlockContent/BulletListItemBlockContent/BulletListItemBlockContent.d.ts +2 -2
  117. package/types/src/blocks/ListItemBlockContent/CheckListItemBlockContent/CheckListItemBlockContent.d.ts +2 -2
  118. package/types/src/blocks/ListItemBlockContent/NumberedListItemBlockContent/NumberedListItemBlockContent.d.ts +2 -2
  119. package/types/src/blocks/PageBreakBlockContent/PageBreakBlockContent.d.ts +2 -2
  120. package/types/src/blocks/PageBreakBlockContent/schema.d.ts +13 -13
  121. package/types/src/blocks/ParagraphBlockContent/ParagraphBlockContent.d.ts +2 -2
  122. package/types/src/blocks/QuoteBlockContent/QuoteBlockContent.d.ts +52 -0
  123. package/types/src/blocks/TableBlockContent/TableBlockContent.d.ts +2 -2
  124. package/types/src/blocks/VideoBlockContent/VideoBlockContent.d.ts +2 -2
  125. package/types/src/blocks/defaultBlockHelpers.d.ts +2 -2
  126. package/types/src/blocks/defaultBlocks.d.ts +107 -44
  127. package/types/src/comments/threadstore/yjs/YjsThreadStore.d.ts +3 -3
  128. package/types/src/comments/types.d.ts +4 -0
  129. package/types/src/editor/BlockNoteEditor.d.ts +58 -0
  130. package/types/src/editor/BlockNoteExtensions.d.ts +3 -2
  131. package/types/src/editor/BlockNoteTipTapEditor.d.ts +2 -1
  132. package/types/src/exporter/mapping.d.ts +2 -2
  133. package/types/src/extensions/BackgroundColor/BackgroundColorMark.d.ts +1 -1
  134. package/types/src/extensions/Collaboration/createCollaborationExtensions.d.ts +1 -1
  135. package/types/src/extensions/Comments/CommentsPlugin.d.ts +16 -1
  136. package/types/src/extensions/HardBreak/HardBreak.d.ts +2 -0
  137. package/types/src/extensions/TableHandles/TableHandlesPlugin.d.ts +4 -4
  138. package/types/src/extensions/TextColor/TextColorMark.d.ts +1 -1
  139. package/types/src/i18n/index.d.ts +2 -0
  140. package/types/src/i18n/locales/de.d.ts +2 -304
  141. package/types/src/i18n/locales/en.d.ts +11 -1
  142. package/types/src/i18n/locales/es.d.ts +2 -269
  143. package/types/src/i18n/locales/hr.d.ts +2 -266
  144. package/types/src/i18n/locales/it.d.ts +2 -269
  145. package/types/src/index.d.ts +1 -2
  146. package/types/src/locales.d.ts +1 -0
  147. package/types/src/pm-nodes/BlockContainer.d.ts +2 -7
  148. package/types/src/pm-nodes/BlockGroup.d.ts +2 -7
  149. package/types/src/schema/blocks/types.d.ts +1 -0
  150. package/types/src/schema/inlineContent/internal.d.ts +1 -1
  151. package/README.md +0 -125
  152. package/src/blocks/CodeBlockContent/defaultSupportedLanguages.ts +0 -116
  153. package/types/src/blocks/CodeBlockContent/shiki.bundle.d.ts +0 -82
@@ -80,13 +80,13 @@ export declare class TableHandlesProsemirrorPlugin<I extends InlineContentSchema
80
80
  */
81
81
  unfreezeHandles: () => void;
82
82
  getCellsAtRowHandle: (block: BlockFromConfigNoChildren<DefaultBlockSchema["table"], any, any>, relativeRowIndex: RelativeCellIndices["row"]) => (RelativeCellIndices & {
83
- cell: import("../../schema/index.js").TableCell<any, any>;
83
+ cell: import("../../index.js").TableCell<any, any>;
84
84
  })[];
85
85
  /**
86
86
  * Get all the cells in a column of the table block.
87
87
  */
88
88
  getCellsAtColumnHandle: (block: BlockFromConfigNoChildren<DefaultBlockSchema["table"], any, any>, relativeColumnIndex: RelativeCellIndices["col"]) => (RelativeCellIndices & {
89
- cell: import("../../schema/index.js").TableCell<any, any>;
89
+ cell: import("../../index.js").TableCell<any, any>;
90
90
  })[];
91
91
  /**
92
92
  * Sets the selection to the given cell or a range of cells.
@@ -138,9 +138,9 @@ export declare class TableHandlesProsemirrorPlugin<I extends InlineContentSchema
138
138
  */
139
139
  getMergeDirection: (block: BlockFromConfigNoChildren<DefaultBlockSchema["table"], any, any> | undefined) => "vertical" | "horizontal" | undefined;
140
140
  cropEmptyRowsOrColumns: (block: BlockFromConfigNoChildren<DefaultBlockSchema["table"], any, any>, removeEmpty: "columns" | "rows") => {
141
- cells: (import("../../schema/index.js").StyledText<any> | import("../../schema/index.js").Link<any> | import("../../schema/index.js").CustomInlineContentFromConfig<any, any>)[][] | import("../../schema/index.js").TableCell<any, any>[];
141
+ cells: (import("../../index.js").StyledText<any> | import("../../index.js").Link<any> | import("../../index.js").CustomInlineContentFromConfig<any, any>)[][] | import("../../index.js").TableCell<any, any>[];
142
142
  }[];
143
143
  addRowsOrColumns: (block: BlockFromConfigNoChildren<DefaultBlockSchema["table"], any, any>, addType: "columns" | "rows", numToAdd: number) => {
144
- cells: (import("../../schema/index.js").StyledText<any> | import("../../schema/index.js").Link<any> | import("../../schema/index.js").CustomInlineContentFromConfig<any, any>)[][] | import("../../schema/index.js").TableCell<any, any>[];
144
+ cells: (import("../../index.js").StyledText<any> | import("../../index.js").Link<any> | import("../../index.js").CustomInlineContentFromConfig<any, any>)[][] | import("../../index.js").TableCell<any, any>[];
145
145
  }[];
146
146
  }
@@ -3,5 +3,5 @@ export declare const TextColor: {
3
3
  type: string;
4
4
  propSchema: "string";
5
5
  };
6
- implementation: import("../../schema/index.js").StyleImplementation;
6
+ implementation: import("../../index.js").StyleImplementation;
7
7
  };
@@ -0,0 +1,2 @@
1
+ export * from "./locales/index.js";
2
+ export * from "./dictionary.js";
@@ -1,304 +1,2 @@
1
- export declare const de: {
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
- code_block: {
46
- title: string;
47
- subtext: string;
48
- aliases: string[];
49
- group: string;
50
- };
51
- page_break: {
52
- title: string;
53
- subtext: string;
54
- aliases: string[];
55
- group: string;
56
- };
57
- table: {
58
- title: string;
59
- subtext: string;
60
- aliases: string[];
61
- group: string;
62
- };
63
- image: {
64
- title: string;
65
- subtext: string;
66
- aliases: string[];
67
- group: string;
68
- };
69
- video: {
70
- title: string;
71
- subtext: string;
72
- aliases: string[];
73
- group: string;
74
- };
75
- audio: {
76
- title: string;
77
- subtext: string;
78
- aliases: string[];
79
- group: string;
80
- };
81
- file: {
82
- title: string;
83
- subtext: string;
84
- aliases: string[];
85
- group: string;
86
- };
87
- emoji: {
88
- title: string;
89
- subtext: string;
90
- aliases: string[];
91
- group: string;
92
- };
93
- };
94
- placeholders: {
95
- default: string;
96
- heading: string;
97
- bulletListItem: string;
98
- numberedListItem: string;
99
- checkListItem: string;
100
- new_comment: string;
101
- edit_comment: string;
102
- comment_reply: string;
103
- };
104
- file_blocks: {
105
- image: {
106
- add_button_text: string;
107
- };
108
- video: {
109
- add_button_text: string;
110
- };
111
- audio: {
112
- add_button_text: string;
113
- };
114
- file: {
115
- add_button_text: string;
116
- };
117
- };
118
- side_menu: {
119
- add_block_label: string;
120
- drag_handle_label: string;
121
- };
122
- drag_handle: {
123
- delete_menuitem: string;
124
- colors_menuitem: string;
125
- };
126
- table_handle: {
127
- delete_column_menuitem: string;
128
- delete_row_menuitem: string;
129
- add_left_menuitem: string;
130
- add_right_menuitem: string;
131
- add_above_menuitem: string;
132
- add_below_menuitem: string;
133
- };
134
- suggestion_menu: {
135
- no_items_title: string;
136
- loading: string;
137
- };
138
- color_picker: {
139
- text_title: string;
140
- background_title: string;
141
- colors: {
142
- default: string;
143
- gray: string;
144
- brown: string;
145
- red: string;
146
- orange: string;
147
- yellow: string;
148
- green: string;
149
- blue: string;
150
- purple: string;
151
- pink: string;
152
- };
153
- };
154
- formatting_toolbar: {
155
- bold: {
156
- tooltip: string;
157
- secondary_tooltip: string;
158
- };
159
- italic: {
160
- tooltip: string;
161
- secondary_tooltip: string;
162
- };
163
- underline: {
164
- tooltip: string;
165
- secondary_tooltip: string;
166
- };
167
- strike: {
168
- tooltip: string;
169
- secondary_tooltip: string;
170
- };
171
- code: {
172
- tooltip: string;
173
- secondary_tooltip: string;
174
- };
175
- colors: {
176
- tooltip: string;
177
- };
178
- link: {
179
- tooltip: string;
180
- secondary_tooltip: string;
181
- };
182
- file_caption: {
183
- tooltip: string;
184
- input_placeholder: string;
185
- };
186
- file_replace: {
187
- tooltip: {
188
- image: string;
189
- video: string;
190
- audio: string;
191
- file: string;
192
- };
193
- };
194
- file_rename: {
195
- tooltip: {
196
- image: string;
197
- video: string;
198
- audio: string;
199
- file: string;
200
- };
201
- input_placeholder: {
202
- image: string;
203
- video: string;
204
- audio: string;
205
- file: string;
206
- };
207
- };
208
- file_download: {
209
- tooltip: {
210
- image: string;
211
- video: string;
212
- audio: string;
213
- file: string;
214
- };
215
- };
216
- file_delete: {
217
- tooltip: {
218
- image: string;
219
- video: string;
220
- audio: string;
221
- file: string;
222
- };
223
- };
224
- file_preview_toggle: {
225
- tooltip: string;
226
- };
227
- nest: {
228
- tooltip: string;
229
- secondary_tooltip: string;
230
- };
231
- unnest: {
232
- tooltip: string;
233
- secondary_tooltip: string;
234
- };
235
- align_left: {
236
- tooltip: string;
237
- };
238
- align_center: {
239
- tooltip: string;
240
- };
241
- align_right: {
242
- tooltip: string;
243
- };
244
- align_justify: {
245
- tooltip: string;
246
- };
247
- comment: {
248
- tooltip: string;
249
- };
250
- };
251
- file_panel: {
252
- upload: {
253
- title: string;
254
- file_placeholder: {
255
- image: string;
256
- video: string;
257
- audio: string;
258
- file: string;
259
- };
260
- upload_error: string;
261
- };
262
- embed: {
263
- title: string;
264
- embed_button: {
265
- image: string;
266
- video: string;
267
- audio: string;
268
- file: string;
269
- };
270
- url_placeholder: string;
271
- };
272
- };
273
- link_toolbar: {
274
- delete: {
275
- tooltip: string;
276
- };
277
- edit: {
278
- text: string;
279
- tooltip: string;
280
- };
281
- open: {
282
- tooltip: string;
283
- };
284
- form: {
285
- title_placeholder: string;
286
- url_placeholder: string;
287
- };
288
- };
289
- comments: {
290
- actions: {
291
- add_reaction: string;
292
- resolve: string;
293
- edit_comment: string;
294
- delete_comment: string;
295
- more_actions: string;
296
- };
297
- reactions: {
298
- reacted_by: string;
299
- };
300
- };
301
- generic: {
302
- ctrl_shortcut: string;
303
- };
304
- };
1
+ import { Dictionary } from "../dictionary.js";
2
+ export declare const de: Dictionary;
@@ -18,6 +18,12 @@ export declare const en: {
18
18
  aliases: string[];
19
19
  group: string;
20
20
  };
21
+ quote: {
22
+ title: string;
23
+ subtext: string;
24
+ aliases: string[];
25
+ group: string;
26
+ };
21
27
  numbered_list: {
22
28
  title: string;
23
29
  subtext: string;
@@ -91,7 +97,7 @@ export declare const en: {
91
97
  group: string;
92
98
  };
93
99
  };
94
- placeholders: Record<string, string | undefined>;
100
+ placeholders: Record<string | "default" | "emptyDocument", string | undefined>;
95
101
  file_blocks: {
96
102
  image: {
97
103
  add_button_text: string;
@@ -261,6 +267,10 @@ export declare const en: {
261
267
  reactions: {
262
268
  reacted_by: string;
263
269
  };
270
+ sidebar: {
271
+ marked_as_resolved: string;
272
+ more_replies: (count: number) => string;
273
+ };
264
274
  };
265
275
  generic: {
266
276
  ctrl_shortcut: string;
@@ -1,269 +1,2 @@
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
- code_block: {
46
- title: string;
47
- subtext: string;
48
- aliases: string[];
49
- group: string;
50
- };
51
- page_break: {
52
- title: string;
53
- subtext: string;
54
- aliases: string[];
55
- group: string;
56
- };
57
- table: {
58
- title: string;
59
- subtext: string;
60
- aliases: string[];
61
- group: string;
62
- };
63
- image: {
64
- title: string;
65
- subtext: string;
66
- aliases: string[];
67
- group: string;
68
- };
69
- video: {
70
- title: string;
71
- subtext: string;
72
- aliases: string[];
73
- group: string;
74
- };
75
- audio: {
76
- title: string;
77
- subtext: string;
78
- aliases: string[];
79
- group: string;
80
- };
81
- file: {
82
- title: string;
83
- subtext: string;
84
- aliases: string[];
85
- group: string;
86
- };
87
- emoji: {
88
- title: string;
89
- subtext: string;
90
- aliases: string[];
91
- group: string;
92
- };
93
- };
94
- placeholders: {
95
- default: string;
96
- heading: string;
97
- bulletListItem: string;
98
- numberedListItem: string;
99
- checkListItem: string;
100
- new_comment: string;
101
- edit_comment: string;
102
- comment_reply: string;
103
- };
104
- file_blocks: {
105
- image: {
106
- add_button_text: string;
107
- };
108
- video: {
109
- add_button_text: string;
110
- };
111
- audio: {
112
- add_button_text: string;
113
- };
114
- file: {
115
- add_button_text: string;
116
- };
117
- };
118
- side_menu: {
119
- add_block_label: string;
120
- drag_handle_label: string;
121
- };
122
- drag_handle: {
123
- delete_menuitem: string;
124
- colors_menuitem: string;
125
- };
126
- table_handle: {
127
- delete_column_menuitem: string;
128
- delete_row_menuitem: string;
129
- add_left_menuitem: string;
130
- add_right_menuitem: string;
131
- add_above_menuitem: string;
132
- add_below_menuitem: string;
133
- };
134
- suggestion_menu: {
135
- no_items_title: string;
136
- loading: string;
137
- };
138
- color_picker: {
139
- text_title: string;
140
- background_title: string;
141
- colors: {
142
- default: string;
143
- gray: string;
144
- brown: string;
145
- red: string;
146
- orange: string;
147
- yellow: string;
148
- green: string;
149
- blue: string;
150
- purple: string;
151
- pink: string;
152
- };
153
- };
154
- formatting_toolbar: {
155
- bold: {
156
- tooltip: string;
157
- secondary_tooltip: string;
158
- };
159
- italic: {
160
- tooltip: string;
161
- secondary_tooltip: string;
162
- };
163
- underline: {
164
- tooltip: string;
165
- secondary_tooltip: string;
166
- };
167
- strike: {
168
- tooltip: string;
169
- secondary_tooltip: string;
170
- };
171
- code: {
172
- tooltip: string;
173
- secondary_tooltip: string;
174
- };
175
- colors: {
176
- tooltip: string;
177
- };
178
- link: {
179
- tooltip: string;
180
- secondary_tooltip: string;
181
- };
182
- file_caption: {
183
- tooltip: string;
184
- input_placeholder: string;
185
- };
186
- file_replace: {
187
- tooltip: Record<string, string>;
188
- };
189
- file_rename: {
190
- tooltip: Record<string, string>;
191
- input_placeholder: Record<string, string>;
192
- };
193
- file_download: {
194
- tooltip: Record<string, string>;
195
- };
196
- file_delete: {
197
- tooltip: Record<string, string>;
198
- };
199
- file_preview_toggle: {
200
- tooltip: string;
201
- };
202
- nest: {
203
- tooltip: string;
204
- secondary_tooltip: string;
205
- };
206
- unnest: {
207
- tooltip: string;
208
- secondary_tooltip: string;
209
- };
210
- align_left: {
211
- tooltip: string;
212
- };
213
- align_center: {
214
- tooltip: string;
215
- };
216
- align_right: {
217
- tooltip: string;
218
- };
219
- align_justify: {
220
- tooltip: string;
221
- };
222
- comment: {
223
- tooltip: string;
224
- };
225
- };
226
- file_panel: {
227
- upload: {
228
- title: string;
229
- file_placeholder: Record<string, string>;
230
- upload_error: string;
231
- };
232
- embed: {
233
- title: string;
234
- embed_button: Record<string, string>;
235
- url_placeholder: string;
236
- };
237
- };
238
- link_toolbar: {
239
- delete: {
240
- tooltip: string;
241
- };
242
- edit: {
243
- text: string;
244
- tooltip: string;
245
- };
246
- open: {
247
- tooltip: string;
248
- };
249
- form: {
250
- title_placeholder: string;
251
- url_placeholder: string;
252
- };
253
- };
254
- comments: {
255
- actions: {
256
- add_reaction: string;
257
- resolve: string;
258
- edit_comment: string;
259
- delete_comment: string;
260
- more_actions: string;
261
- };
262
- reactions: {
263
- reacted_by: string;
264
- };
265
- };
266
- generic: {
267
- ctrl_shortcut: string;
268
- };
269
- };
1
+ import { Dictionary } from "../dictionary.js";
2
+ export declare const es: Dictionary;