reactjs-tiptap-editor 0.3.22 → 0.3.24

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 (226) hide show
  1. package/lib/{ActionMenuButton-CtcDNq-L.js → ActionMenuButton-BW1lNB_I.js} +1 -1
  2. package/lib/{ActionMenuButton-B81uYOvt.cjs → ActionMenuButton-BqO6QTnX.cjs} +1 -1
  3. package/lib/Attachment.cjs +1 -1
  4. package/lib/Attachment.d.cts +29 -29
  5. package/lib/Attachment.d.ts +29 -29
  6. package/lib/Attachment.js +2 -2
  7. package/lib/Blockquote.cjs +1 -1
  8. package/lib/Blockquote.d.cts +29 -29
  9. package/lib/Blockquote.d.ts +29 -29
  10. package/lib/Blockquote.js +1 -1
  11. package/lib/Bold.cjs +1 -1
  12. package/lib/Bold.d.cts +29 -29
  13. package/lib/Bold.d.ts +29 -29
  14. package/lib/Bold.js +1 -1
  15. package/lib/BulletList.cjs +1 -1
  16. package/lib/BulletList.d.cts +29 -29
  17. package/lib/BulletList.d.ts +29 -29
  18. package/lib/BulletList.js +1 -1
  19. package/lib/Clear.cjs +1 -1
  20. package/lib/Clear.d.cts +29 -29
  21. package/lib/Clear.d.ts +29 -29
  22. package/lib/Clear.js +1 -1
  23. package/lib/Code.cjs +1 -1
  24. package/lib/Code.d.cts +29 -29
  25. package/lib/Code.d.ts +29 -29
  26. package/lib/Code.js +1 -1
  27. package/lib/CodeBlock.cjs +1 -1
  28. package/lib/CodeBlock.d.cts +29 -29
  29. package/lib/CodeBlock.d.ts +29 -29
  30. package/lib/CodeBlock.js +1 -1
  31. package/lib/CodeView.cjs +1 -1
  32. package/lib/CodeView.d.cts +29 -29
  33. package/lib/CodeView.d.ts +29 -29
  34. package/lib/CodeView.js +1 -1
  35. package/lib/Color.cjs +1 -1
  36. package/lib/Color.d.cts +29 -29
  37. package/lib/Color.d.ts +29 -29
  38. package/lib/Color.js +1 -1
  39. package/lib/Document.d.cts +29 -29
  40. package/lib/Document.d.ts +29 -29
  41. package/lib/{Drawer-CHGZ5D6j.cjs → Drawer-B1rmIQfS.cjs} +1 -1
  42. package/lib/{Drawer-BI_9XSqI.js → Drawer-DEqRsjHw.js} +10 -10
  43. package/lib/Drawer.cjs +1 -1
  44. package/lib/Drawer.d.cts +29 -29
  45. package/lib/Drawer.d.ts +29 -29
  46. package/lib/Drawer.js +2 -2
  47. package/lib/Emoji.cjs +1 -1
  48. package/lib/Emoji.d.cts +29 -29
  49. package/lib/Emoji.d.ts +29 -29
  50. package/lib/Emoji.js +2 -2
  51. package/lib/{Excalidraw-AIzEaOzF.js → Excalidraw-D2y-x-OZ.js} +2 -2
  52. package/lib/{Excalidraw-DOJiMnFl.cjs → Excalidraw-Qr5vHe9J.cjs} +1 -1
  53. package/lib/Excalidraw.cjs +1 -1
  54. package/lib/Excalidraw.d.cts +29 -29
  55. package/lib/Excalidraw.d.ts +29 -29
  56. package/lib/Excalidraw.js +1 -1
  57. package/lib/ExportPdf.cjs +1 -1
  58. package/lib/ExportPdf.d.cts +29 -29
  59. package/lib/ExportPdf.d.ts +29 -29
  60. package/lib/ExportPdf.js +1 -1
  61. package/lib/ExportWord.cjs +1 -1
  62. package/lib/ExportWord.d.cts +29 -29
  63. package/lib/ExportWord.d.ts +29 -29
  64. package/lib/ExportWord.js +1 -1
  65. package/lib/FontFamily.cjs +1 -1
  66. package/lib/FontFamily.d.cts +29 -29
  67. package/lib/FontFamily.d.ts +29 -29
  68. package/lib/FontFamily.js +5 -5
  69. package/lib/FontSize.cjs +1 -1
  70. package/lib/FontSize.d.cts +29 -29
  71. package/lib/FontSize.d.ts +29 -29
  72. package/lib/FontSize.js +3 -3
  73. package/lib/FormatPainter.cjs +1 -1
  74. package/lib/FormatPainter.d.cts +29 -29
  75. package/lib/FormatPainter.d.ts +29 -29
  76. package/lib/FormatPainter.js +1 -1
  77. package/lib/Heading.cjs +1 -1
  78. package/lib/Heading.d.cts +29 -29
  79. package/lib/Heading.d.ts +29 -29
  80. package/lib/Heading.js +2 -2
  81. package/lib/Highlight.cjs +1 -1
  82. package/lib/Highlight.d.cts +29 -29
  83. package/lib/Highlight.d.ts +29 -29
  84. package/lib/Highlight.js +1 -1
  85. package/lib/History.cjs +1 -1
  86. package/lib/History.d.cts +29 -29
  87. package/lib/History.d.ts +29 -29
  88. package/lib/History.js +1 -1
  89. package/lib/HorizontalRule.cjs +1 -1
  90. package/lib/HorizontalRule.d.cts +29 -29
  91. package/lib/HorizontalRule.d.ts +29 -29
  92. package/lib/HorizontalRule.js +1 -1
  93. package/lib/Iframe.cjs +1 -1
  94. package/lib/Iframe.d.cts +29 -29
  95. package/lib/Iframe.d.ts +29 -29
  96. package/lib/Iframe.js +1 -1
  97. package/lib/Image.cjs +1 -1
  98. package/lib/Image.d.cts +29 -29
  99. package/lib/Image.d.ts +29 -29
  100. package/lib/Image.js +1 -1
  101. package/lib/ImageGif.cjs +1 -1
  102. package/lib/ImageGif.d.cts +29 -29
  103. package/lib/ImageGif.d.ts +29 -29
  104. package/lib/ImageGif.js +1 -1
  105. package/lib/ImportWord.cjs +1 -1
  106. package/lib/ImportWord.d.cts +29 -29
  107. package/lib/ImportWord.d.ts +29 -29
  108. package/lib/ImportWord.js +2 -2
  109. package/lib/Indent.cjs +1 -1
  110. package/lib/Indent.d.cts +29 -29
  111. package/lib/Indent.d.ts +29 -29
  112. package/lib/Indent.js +1 -1
  113. package/lib/Italic.cjs +1 -1
  114. package/lib/Italic.d.cts +29 -29
  115. package/lib/Italic.d.ts +29 -29
  116. package/lib/Italic.js +1 -1
  117. package/lib/Katex.cjs +1 -1
  118. package/lib/Katex.d.cts +29 -29
  119. package/lib/Katex.d.ts +29 -29
  120. package/lib/Katex.js +3 -3
  121. package/lib/LineHeight.cjs +1 -1
  122. package/lib/LineHeight.d.cts +29 -29
  123. package/lib/LineHeight.d.ts +29 -29
  124. package/lib/LineHeight.js +6 -6
  125. package/lib/Link.cjs +1 -1
  126. package/lib/Link.d.cts +29 -29
  127. package/lib/Link.d.ts +29 -29
  128. package/lib/Link.js +1 -1
  129. package/lib/ListItem.d.cts +29 -29
  130. package/lib/ListItem.d.ts +29 -29
  131. package/lib/Mention.d.cts +29 -29
  132. package/lib/Mention.d.ts +29 -29
  133. package/lib/Mermaid.cjs +1 -1
  134. package/lib/Mermaid.d.cts +29 -29
  135. package/lib/Mermaid.d.ts +29 -29
  136. package/lib/Mermaid.js +14 -14
  137. package/lib/MoreMark.cjs +1 -1
  138. package/lib/MoreMark.d.cts +29 -29
  139. package/lib/MoreMark.d.ts +29 -29
  140. package/lib/MoreMark.js +1 -1
  141. package/lib/MultiColumn.cjs +1 -1
  142. package/lib/MultiColumn.d.cts +29 -29
  143. package/lib/MultiColumn.d.ts +29 -29
  144. package/lib/MultiColumn.js +1 -1
  145. package/lib/OrderedList.cjs +1 -1
  146. package/lib/OrderedList.d.cts +29 -29
  147. package/lib/OrderedList.d.ts +29 -29
  148. package/lib/OrderedList.js +1 -1
  149. package/lib/{RichTextEditor-DtxJlApT.cjs → RichTextEditor-CSA367l8.cjs} +2 -2
  150. package/lib/{RichTextEditor-CtxIf8pq.js → RichTextEditor-CrDGx-K7.js} +4 -4
  151. package/lib/SearchAndReplace.cjs +1 -1
  152. package/lib/SearchAndReplace.d.cts +29 -29
  153. package/lib/SearchAndReplace.d.ts +29 -29
  154. package/lib/SearchAndReplace.js +2 -2
  155. package/lib/Selection.d.cts +29 -29
  156. package/lib/Selection.d.ts +29 -29
  157. package/lib/SlashCommand.cjs +1 -1
  158. package/lib/SlashCommand.d.cts +29 -29
  159. package/lib/SlashCommand.d.ts +29 -29
  160. package/lib/SlashCommand.js +2 -2
  161. package/lib/Strike.cjs +1 -1
  162. package/lib/Strike.d.cts +29 -29
  163. package/lib/Strike.d.ts +29 -29
  164. package/lib/Strike.js +1 -1
  165. package/lib/SubAndSuperScript.cjs +1 -1
  166. package/lib/SubAndSuperScript.d.cts +29 -29
  167. package/lib/SubAndSuperScript.d.ts +29 -29
  168. package/lib/SubAndSuperScript.js +1 -1
  169. package/lib/Table.cjs +1 -1
  170. package/lib/Table.d.cts +29 -29
  171. package/lib/Table.d.ts +29 -29
  172. package/lib/Table.js +531 -531
  173. package/lib/TableOfContent.cjs +1 -1
  174. package/lib/TableOfContent.d.cts +29 -29
  175. package/lib/TableOfContent.d.ts +29 -29
  176. package/lib/TableOfContent.js +2 -2
  177. package/lib/TaskList.cjs +1 -1
  178. package/lib/TaskList.d.cts +29 -29
  179. package/lib/TaskList.d.ts +29 -29
  180. package/lib/TaskList.js +1 -1
  181. package/lib/TextAlign.cjs +1 -1
  182. package/lib/TextAlign.d.cts +29 -29
  183. package/lib/TextAlign.d.ts +29 -29
  184. package/lib/TextAlign.js +1 -1
  185. package/lib/TextBubble.cjs +1 -1
  186. package/lib/TextBubble.d.cts +29 -29
  187. package/lib/TextBubble.d.ts +29 -29
  188. package/lib/TextBubble.js +2 -2
  189. package/lib/TextDirection.cjs +1 -1
  190. package/lib/TextDirection.d.cts +29 -29
  191. package/lib/TextDirection.d.ts +29 -29
  192. package/lib/TextDirection.js +1 -1
  193. package/lib/TextUnderline.cjs +1 -1
  194. package/lib/TextUnderline.d.cts +29 -29
  195. package/lib/TextUnderline.d.ts +29 -29
  196. package/lib/TextUnderline.js +1 -1
  197. package/lib/TrailingNode.d.cts +29 -29
  198. package/lib/TrailingNode.d.ts +29 -29
  199. package/lib/{Twitter-DBA28WG3.cjs → Twitter-BRF2Ehp3.cjs} +1 -1
  200. package/lib/{Twitter-CJIud-WM.js → Twitter-D-kqw1ZB.js} +2 -2
  201. package/lib/Twitter.cjs +1 -1
  202. package/lib/Twitter.d.cts +29 -29
  203. package/lib/Twitter.d.ts +29 -29
  204. package/lib/Twitter.js +1 -1
  205. package/lib/Video.cjs +1 -1
  206. package/lib/Video.d.cts +29 -29
  207. package/lib/Video.d.ts +29 -29
  208. package/lib/Video.js +2 -2
  209. package/lib/bubble-extra.cjs +1 -1
  210. package/lib/bubble-extra.d.cts +29 -29
  211. package/lib/bubble-extra.d.ts +29 -29
  212. package/lib/bubble-extra.js +6 -6
  213. package/lib/{index-Tj3Ci7xM.js → index-CsK90iVd.js} +306 -128
  214. package/lib/index-D_A0TBRA.cjs +1 -0
  215. package/lib/index.cjs +1 -1
  216. package/lib/index.d.cts +29 -29
  217. package/lib/index.d.ts +29 -29
  218. package/lib/index.js +3 -3
  219. package/lib/locale-bundle.cjs +1 -1
  220. package/lib/locale-bundle.d.cts +208 -30
  221. package/lib/locale-bundle.d.ts +208 -30
  222. package/lib/locale-bundle.js +2 -1
  223. package/lib/{textarea-BhTw-eGz.js → textarea-06Uv95yx.js} +1 -1
  224. package/lib/{textarea-9iN67tad.cjs → textarea-QE8jlGEs.cjs} +1 -1
  225. package/package.json +1 -1
  226. package/lib/index-C19MB4Al.cjs +0 -1
@@ -176,6 +176,184 @@ export declare const en: {
176
176
  'editor.upload.error': string;
177
177
  };
178
178
 
179
+ export declare const fi: {
180
+ 'editor.remove': string;
181
+ 'editor.copy': string;
182
+ 'editor.words': string;
183
+ 'editor.characters': string;
184
+ 'editor.default': string;
185
+ 'editor.recent': string;
186
+ 'editor.nofill': string;
187
+ 'editor.format': string;
188
+ 'editor.delete': string;
189
+ 'editor.edit': string;
190
+ 'editor.settings': string;
191
+ 'editor.table_of_content': string;
192
+ 'editor.draghandle.tooltip': string;
193
+ 'editor.copyToClipboard': string;
194
+ 'editor.slash': string;
195
+ 'editor.slash.empty': string;
196
+ 'editor.slash.format': string;
197
+ 'editor.slash.insert': string;
198
+ 'editor.slash.embed': string;
199
+ 'editor.content': string;
200
+ 'editor.fontFamily.tooltip': string;
201
+ 'editor.fontFamily.default.tooltip': string;
202
+ 'editor.moremark': string;
203
+ 'editor.size.small.tooltip': string;
204
+ 'editor.size.medium.tooltip': string;
205
+ 'editor.size.large.tooltip': string;
206
+ 'editor.bold.tooltip': string;
207
+ 'editor.italic.tooltip': string;
208
+ 'editor.underline.tooltip': string;
209
+ 'editor.strike.tooltip': string;
210
+ 'editor.color.tooltip': string;
211
+ 'editor.color.more': string;
212
+ 'editor.highlight.tooltip': string;
213
+ 'editor.lineheight.tooltip': string;
214
+ 'editor.heading.tooltip': string;
215
+ 'editor.heading.h1.tooltip': string;
216
+ 'editor.heading.h2.tooltip': string;
217
+ 'editor.heading.h3.tooltip': string;
218
+ 'editor.heading.h4.tooltip': string;
219
+ 'editor.heading.h5.tooltip': string;
220
+ 'editor.heading.h6.tooltip': string;
221
+ 'editor.paragraph.tooltip': string;
222
+ 'editor.textalign.tooltip': string;
223
+ 'editor.textalign.left.tooltip': string;
224
+ 'editor.textalign.center.tooltip': string;
225
+ 'editor.textalign.right.tooltip': string;
226
+ 'editor.textalign.justify.tooltip': string;
227
+ 'editor.indent': string;
228
+ 'editor.indent.indent': string;
229
+ 'editor.indent.outdent': string;
230
+ 'editor.fontSize.tooltip': string;
231
+ 'editor.fontSize.default.tooltip': string;
232
+ 'editor.superscript.tooltip': string;
233
+ 'editor.subscript.tooltip': string;
234
+ 'editor.bulletlist.tooltip': string;
235
+ 'editor.orderedlist.tooltip': string;
236
+ 'editor.tasklist.tooltip': string;
237
+ 'editor.indent.tooltip': string;
238
+ 'editor.outdent.tooltip': string;
239
+ 'editor.columns.tooltip': string;
240
+ 'editor.link.tooltip': string;
241
+ 'editor.link.unlink.tooltip': string;
242
+ 'editor.link.open.tooltip': string;
243
+ 'editor.link.edit.tooltip': string;
244
+ 'editor.link.dialog.title': string;
245
+ 'editor.link.dialog.link': string;
246
+ 'editor.link.dialog.text': string;
247
+ 'editor.link.dialog.openInNewTab': string;
248
+ 'editor.link.dialog.link.placeholder': string;
249
+ 'editor.link.dialog.text.placeholder': string;
250
+ 'editor.link.dialog.button.apply': string;
251
+ 'editor.image.tooltip': string;
252
+ 'editor.image.dragger.tooltip': string;
253
+ 'editor.image.float.left.tooltip': string;
254
+ 'editor.image.float.none.tooltip': string;
255
+ 'editor.image.float.right.tooltip': string;
256
+ 'editor.image.dialog.title': string;
257
+ 'editor.image.dialog.tab.url': string;
258
+ 'editor.image.dialog.tab.upload': string;
259
+ 'editor.image.dialog.tab.uploadCrop': string;
260
+ 'editor.image.dialog.uploading': string;
261
+ 'editor.link.dialog.inline': string;
262
+ 'editor.image.dialog.form.link': string;
263
+ 'editor.image.dialog.placeholder': string;
264
+ 'editor.image.dialog.form.alt': string;
265
+ 'editor.image.dialog.form.aspectRatio': string;
266
+ 'editor.image.dialog.form.file': string;
267
+ 'editor.image.dialog.button.apply': string;
268
+ 'editor.video.tooltip': string;
269
+ 'editor.video.dialog.tab.upload': string;
270
+ 'editor.video.dialog.uploading': string;
271
+ 'editor.video.dialog.title': string;
272
+ 'editor.video.dialog.link': string;
273
+ 'editor.video.dialog.placeholder': string;
274
+ 'editor.video.dialog.button.apply': string;
275
+ 'editor.table.tooltip': string;
276
+ 'editor.table.menu.insert_table': string;
277
+ 'editor.table.menu.insert_table.with_header_row': string;
278
+ 'editor.table.menu.add_column_before': string;
279
+ 'editor.table.menu.add_column_after': string;
280
+ 'editor.table.menu.delete_column': string;
281
+ 'editor.table.menu.add_row_before': string;
282
+ 'editor.table.menu.add_row_after': string;
283
+ 'editor.table.menu.delete_row': string;
284
+ 'editor.table.menu.merge_or_split_cells': string;
285
+ 'editor.table.menu.delete_table': string;
286
+ 'editor.blockquote.tooltip': string;
287
+ 'editor.horizontalrule.tooltip': string;
288
+ 'editor.code.tooltip': string;
289
+ 'editor.codeblock.tooltip': string;
290
+ 'editor.clear.tooltip': string;
291
+ 'editor.undo.tooltip': string;
292
+ 'editor.redo.tooltip': string;
293
+ 'editor.fullscreen.tooltip.fullscreen': string;
294
+ 'editor.fullscreen.tooltip.exit': string;
295
+ 'editor.imageUpload.cancel': string;
296
+ 'editor.imageUpload.crop': string;
297
+ 'editor.imageUpload.uploading': string;
298
+ 'editor.imageUpload.alt': string;
299
+ 'editor.imageUpload.fileTypeNotSupported': string;
300
+ 'editor.imageUpload.fileSizeTooBig': string;
301
+ 'editor.table.menu.insertColumnBefore': string;
302
+ 'editor.table.menu.insertColumnAfter': string;
303
+ 'editor.table.menu.deleteColumn': string;
304
+ 'editor.table.menu.insertRowAbove': string;
305
+ 'editor.table.menu.insertRowBelow': string;
306
+ 'editor.table.menu.deleteRow': string;
307
+ 'editor.table.menu.mergeCells': string;
308
+ 'editor.table.menu.splitCells': string;
309
+ 'editor.table.menu.deleteTable': string;
310
+ 'editor.table.menu.setCellsBgColor': string;
311
+ 'editor.emoji.tooltip': string;
312
+ 'editor.iframe.tooltip': string;
313
+ 'editor.searchAndReplace.tooltip': string;
314
+ 'editor.search.dialog.text': string;
315
+ 'editor.replace.dialog.text': string;
316
+ 'editor.replaceAll.dialog.text': string;
317
+ 'editor.previous.dialog.text': string;
318
+ 'editor.next.dialog.text': string;
319
+ no_result_found: string;
320
+ 'Smileys & People': string;
321
+ 'Animals & Nature': string;
322
+ 'Food & Drink': string;
323
+ Activity: string;
324
+ 'Travel & Places': string;
325
+ Object: string;
326
+ Symbol: string;
327
+ Flags: string;
328
+ 'Frequently used': string;
329
+ 'editor.formula.dialog.text': string;
330
+ 'editor.katex.tooltip': string;
331
+ 'editor.exportPdf.tooltip': string;
332
+ 'editor.exportWord.tooltip': string;
333
+ 'editor.importWord.tooltip': string;
334
+ 'editor.importWord.limitSize': string;
335
+ 'editor.importWord.converting': string;
336
+ 'editor.importWord.convertError': string;
337
+ 'editor.importWord.importError': string;
338
+ 'editor.textDirection.tooltip': string;
339
+ 'editor.textDirection.auto.tooltip': string;
340
+ 'editor.textDirection.ltr.tooltip': string;
341
+ 'editor.textDirection.rtl.tooltip': string;
342
+ 'editor.attachment.tooltip': string;
343
+ 'editor.attachment.uploading': string;
344
+ 'editor.attachment.please_upload': string;
345
+ 'editor.imageGif.tooltip': string;
346
+ 'editor.replace.caseSensitive': string;
347
+ 'editor.mermaid.tooltip': string;
348
+ 'editor.twitter.tooltip': string;
349
+ 'editor.codeView.tooltip': string;
350
+ 'editor.tooltip.flipX': string;
351
+ 'editor.tooltip.flipY': string;
352
+ 'editor.upload.fileTypeNotSupported': string;
353
+ 'editor.upload.fileSizeTooBig': string;
354
+ 'editor.upload.error': string;
355
+ };
356
+
179
357
  export declare const hu_HU: {
180
358
  'editor.remove': string;
181
359
  'editor.copy': string;
@@ -354,7 +532,7 @@ export declare const hu_HU: {
354
532
  'editor.upload.error': string;
355
533
  };
356
534
 
357
- declare type LanguageType = 'en' | 'hu_HU' | 'vi' | 'zh_CN' | 'pt_BR' | (string & {});
535
+ declare type LanguageType = 'en' | 'hu_HU' | 'vi' | 'zh_CN' | 'pt_BR' | 'fi' | (string & {});
358
536
 
359
537
  declare class Locale {
360
538
  private emitter;
@@ -956,11 +1134,8 @@ declare module '@tiptap/core' {
956
1134
 
957
1135
  declare module '@tiptap/core' {
958
1136
  interface Commands<ReturnType> {
959
- emoji: {
960
- setEmoji: (emoji: {
961
- name: string;
962
- emoji: string;
963
- }) => ReturnType;
1137
+ excalidraw: {
1138
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
964
1139
  };
965
1140
  }
966
1141
  }
@@ -968,8 +1143,11 @@ declare module '@tiptap/core' {
968
1143
 
969
1144
  declare module '@tiptap/core' {
970
1145
  interface Commands<ReturnType> {
971
- excalidraw: {
972
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
1146
+ emoji: {
1147
+ setEmoji: (emoji: {
1148
+ name: string;
1149
+ emoji: string;
1150
+ }) => ReturnType;
973
1151
  };
974
1152
  }
975
1153
  }
@@ -1066,6 +1244,15 @@ declare module '@tiptap/core' {
1066
1244
  }
1067
1245
 
1068
1246
 
1247
+ declare module '@tiptap/core' {
1248
+ interface Commands<ReturnType> {
1249
+ katex: {
1250
+ setKatex: (arg?: IKatexAttrs) => ReturnType;
1251
+ };
1252
+ }
1253
+ }
1254
+
1255
+
1069
1256
  declare module '@tiptap/core' {
1070
1257
  interface Commands<ReturnType> {
1071
1258
  indent: {
@@ -1082,15 +1269,6 @@ declare module '@tiptap/core' {
1082
1269
  }
1083
1270
 
1084
1271
 
1085
- declare module '@tiptap/core' {
1086
- interface Commands<ReturnType> {
1087
- katex: {
1088
- setKatex: (arg?: IKatexAttrs) => ReturnType;
1089
- };
1090
- }
1091
- }
1092
-
1093
-
1094
1272
  declare module '@tiptap/core' {
1095
1273
  interface Commands<ReturnType> {
1096
1274
  lineHeight: {
@@ -1152,15 +1330,14 @@ declare module '@tiptap/core' {
1152
1330
 
1153
1331
  declare module '@tiptap/core' {
1154
1332
  interface Commands<ReturnType> {
1155
- video: {
1156
- /**
1157
- * Add an video
1158
- */
1159
- setVideo: (options: Partial<SetVideoOptions>) => ReturnType;
1333
+ twitter: {
1160
1334
  /**
1161
- * Update an video
1335
+ * Insert a tweet
1336
+ * @param options The tweet attributes
1337
+ * @example editor.commands.setTweet({ src: 'https://x.com/seanpk/status/1800145949580517852' })
1162
1338
  */
1163
- updateVideo: (options: Partial<SetVideoOptions>) => ReturnType;
1339
+ setTweet: (options: SetTweetOptions) => ReturnType;
1340
+ updateTweet: (options: SetTweetOptions) => ReturnType;
1164
1341
  };
1165
1342
  }
1166
1343
  }
@@ -1168,14 +1345,15 @@ declare module '@tiptap/core' {
1168
1345
 
1169
1346
  declare module '@tiptap/core' {
1170
1347
  interface Commands<ReturnType> {
1171
- twitter: {
1348
+ video: {
1172
1349
  /**
1173
- * Insert a tweet
1174
- * @param options The tweet attributes
1175
- * @example editor.commands.setTweet({ src: 'https://x.com/seanpk/status/1800145949580517852' })
1350
+ * Add an video
1176
1351
  */
1177
- setTweet: (options: SetTweetOptions) => ReturnType;
1178
- updateTweet: (options: SetTweetOptions) => ReturnType;
1352
+ setVideo: (options: Partial<SetVideoOptions>) => ReturnType;
1353
+ /**
1354
+ * Update an video
1355
+ */
1356
+ updateVideo: (options: Partial<SetVideoOptions>) => ReturnType;
1179
1357
  };
1180
1358
  }
1181
1359
  }
@@ -176,6 +176,184 @@ export declare const en: {
176
176
  'editor.upload.error': string;
177
177
  };
178
178
 
179
+ export declare const fi: {
180
+ 'editor.remove': string;
181
+ 'editor.copy': string;
182
+ 'editor.words': string;
183
+ 'editor.characters': string;
184
+ 'editor.default': string;
185
+ 'editor.recent': string;
186
+ 'editor.nofill': string;
187
+ 'editor.format': string;
188
+ 'editor.delete': string;
189
+ 'editor.edit': string;
190
+ 'editor.settings': string;
191
+ 'editor.table_of_content': string;
192
+ 'editor.draghandle.tooltip': string;
193
+ 'editor.copyToClipboard': string;
194
+ 'editor.slash': string;
195
+ 'editor.slash.empty': string;
196
+ 'editor.slash.format': string;
197
+ 'editor.slash.insert': string;
198
+ 'editor.slash.embed': string;
199
+ 'editor.content': string;
200
+ 'editor.fontFamily.tooltip': string;
201
+ 'editor.fontFamily.default.tooltip': string;
202
+ 'editor.moremark': string;
203
+ 'editor.size.small.tooltip': string;
204
+ 'editor.size.medium.tooltip': string;
205
+ 'editor.size.large.tooltip': string;
206
+ 'editor.bold.tooltip': string;
207
+ 'editor.italic.tooltip': string;
208
+ 'editor.underline.tooltip': string;
209
+ 'editor.strike.tooltip': string;
210
+ 'editor.color.tooltip': string;
211
+ 'editor.color.more': string;
212
+ 'editor.highlight.tooltip': string;
213
+ 'editor.lineheight.tooltip': string;
214
+ 'editor.heading.tooltip': string;
215
+ 'editor.heading.h1.tooltip': string;
216
+ 'editor.heading.h2.tooltip': string;
217
+ 'editor.heading.h3.tooltip': string;
218
+ 'editor.heading.h4.tooltip': string;
219
+ 'editor.heading.h5.tooltip': string;
220
+ 'editor.heading.h6.tooltip': string;
221
+ 'editor.paragraph.tooltip': string;
222
+ 'editor.textalign.tooltip': string;
223
+ 'editor.textalign.left.tooltip': string;
224
+ 'editor.textalign.center.tooltip': string;
225
+ 'editor.textalign.right.tooltip': string;
226
+ 'editor.textalign.justify.tooltip': string;
227
+ 'editor.indent': string;
228
+ 'editor.indent.indent': string;
229
+ 'editor.indent.outdent': string;
230
+ 'editor.fontSize.tooltip': string;
231
+ 'editor.fontSize.default.tooltip': string;
232
+ 'editor.superscript.tooltip': string;
233
+ 'editor.subscript.tooltip': string;
234
+ 'editor.bulletlist.tooltip': string;
235
+ 'editor.orderedlist.tooltip': string;
236
+ 'editor.tasklist.tooltip': string;
237
+ 'editor.indent.tooltip': string;
238
+ 'editor.outdent.tooltip': string;
239
+ 'editor.columns.tooltip': string;
240
+ 'editor.link.tooltip': string;
241
+ 'editor.link.unlink.tooltip': string;
242
+ 'editor.link.open.tooltip': string;
243
+ 'editor.link.edit.tooltip': string;
244
+ 'editor.link.dialog.title': string;
245
+ 'editor.link.dialog.link': string;
246
+ 'editor.link.dialog.text': string;
247
+ 'editor.link.dialog.openInNewTab': string;
248
+ 'editor.link.dialog.link.placeholder': string;
249
+ 'editor.link.dialog.text.placeholder': string;
250
+ 'editor.link.dialog.button.apply': string;
251
+ 'editor.image.tooltip': string;
252
+ 'editor.image.dragger.tooltip': string;
253
+ 'editor.image.float.left.tooltip': string;
254
+ 'editor.image.float.none.tooltip': string;
255
+ 'editor.image.float.right.tooltip': string;
256
+ 'editor.image.dialog.title': string;
257
+ 'editor.image.dialog.tab.url': string;
258
+ 'editor.image.dialog.tab.upload': string;
259
+ 'editor.image.dialog.tab.uploadCrop': string;
260
+ 'editor.image.dialog.uploading': string;
261
+ 'editor.link.dialog.inline': string;
262
+ 'editor.image.dialog.form.link': string;
263
+ 'editor.image.dialog.placeholder': string;
264
+ 'editor.image.dialog.form.alt': string;
265
+ 'editor.image.dialog.form.aspectRatio': string;
266
+ 'editor.image.dialog.form.file': string;
267
+ 'editor.image.dialog.button.apply': string;
268
+ 'editor.video.tooltip': string;
269
+ 'editor.video.dialog.tab.upload': string;
270
+ 'editor.video.dialog.uploading': string;
271
+ 'editor.video.dialog.title': string;
272
+ 'editor.video.dialog.link': string;
273
+ 'editor.video.dialog.placeholder': string;
274
+ 'editor.video.dialog.button.apply': string;
275
+ 'editor.table.tooltip': string;
276
+ 'editor.table.menu.insert_table': string;
277
+ 'editor.table.menu.insert_table.with_header_row': string;
278
+ 'editor.table.menu.add_column_before': string;
279
+ 'editor.table.menu.add_column_after': string;
280
+ 'editor.table.menu.delete_column': string;
281
+ 'editor.table.menu.add_row_before': string;
282
+ 'editor.table.menu.add_row_after': string;
283
+ 'editor.table.menu.delete_row': string;
284
+ 'editor.table.menu.merge_or_split_cells': string;
285
+ 'editor.table.menu.delete_table': string;
286
+ 'editor.blockquote.tooltip': string;
287
+ 'editor.horizontalrule.tooltip': string;
288
+ 'editor.code.tooltip': string;
289
+ 'editor.codeblock.tooltip': string;
290
+ 'editor.clear.tooltip': string;
291
+ 'editor.undo.tooltip': string;
292
+ 'editor.redo.tooltip': string;
293
+ 'editor.fullscreen.tooltip.fullscreen': string;
294
+ 'editor.fullscreen.tooltip.exit': string;
295
+ 'editor.imageUpload.cancel': string;
296
+ 'editor.imageUpload.crop': string;
297
+ 'editor.imageUpload.uploading': string;
298
+ 'editor.imageUpload.alt': string;
299
+ 'editor.imageUpload.fileTypeNotSupported': string;
300
+ 'editor.imageUpload.fileSizeTooBig': string;
301
+ 'editor.table.menu.insertColumnBefore': string;
302
+ 'editor.table.menu.insertColumnAfter': string;
303
+ 'editor.table.menu.deleteColumn': string;
304
+ 'editor.table.menu.insertRowAbove': string;
305
+ 'editor.table.menu.insertRowBelow': string;
306
+ 'editor.table.menu.deleteRow': string;
307
+ 'editor.table.menu.mergeCells': string;
308
+ 'editor.table.menu.splitCells': string;
309
+ 'editor.table.menu.deleteTable': string;
310
+ 'editor.table.menu.setCellsBgColor': string;
311
+ 'editor.emoji.tooltip': string;
312
+ 'editor.iframe.tooltip': string;
313
+ 'editor.searchAndReplace.tooltip': string;
314
+ 'editor.search.dialog.text': string;
315
+ 'editor.replace.dialog.text': string;
316
+ 'editor.replaceAll.dialog.text': string;
317
+ 'editor.previous.dialog.text': string;
318
+ 'editor.next.dialog.text': string;
319
+ no_result_found: string;
320
+ 'Smileys & People': string;
321
+ 'Animals & Nature': string;
322
+ 'Food & Drink': string;
323
+ Activity: string;
324
+ 'Travel & Places': string;
325
+ Object: string;
326
+ Symbol: string;
327
+ Flags: string;
328
+ 'Frequently used': string;
329
+ 'editor.formula.dialog.text': string;
330
+ 'editor.katex.tooltip': string;
331
+ 'editor.exportPdf.tooltip': string;
332
+ 'editor.exportWord.tooltip': string;
333
+ 'editor.importWord.tooltip': string;
334
+ 'editor.importWord.limitSize': string;
335
+ 'editor.importWord.converting': string;
336
+ 'editor.importWord.convertError': string;
337
+ 'editor.importWord.importError': string;
338
+ 'editor.textDirection.tooltip': string;
339
+ 'editor.textDirection.auto.tooltip': string;
340
+ 'editor.textDirection.ltr.tooltip': string;
341
+ 'editor.textDirection.rtl.tooltip': string;
342
+ 'editor.attachment.tooltip': string;
343
+ 'editor.attachment.uploading': string;
344
+ 'editor.attachment.please_upload': string;
345
+ 'editor.imageGif.tooltip': string;
346
+ 'editor.replace.caseSensitive': string;
347
+ 'editor.mermaid.tooltip': string;
348
+ 'editor.twitter.tooltip': string;
349
+ 'editor.codeView.tooltip': string;
350
+ 'editor.tooltip.flipX': string;
351
+ 'editor.tooltip.flipY': string;
352
+ 'editor.upload.fileTypeNotSupported': string;
353
+ 'editor.upload.fileSizeTooBig': string;
354
+ 'editor.upload.error': string;
355
+ };
356
+
179
357
  export declare const hu_HU: {
180
358
  'editor.remove': string;
181
359
  'editor.copy': string;
@@ -354,7 +532,7 @@ export declare const hu_HU: {
354
532
  'editor.upload.error': string;
355
533
  };
356
534
 
357
- declare type LanguageType = 'en' | 'hu_HU' | 'vi' | 'zh_CN' | 'pt_BR' | (string & {});
535
+ declare type LanguageType = 'en' | 'hu_HU' | 'vi' | 'zh_CN' | 'pt_BR' | 'fi' | (string & {});
358
536
 
359
537
  declare class Locale {
360
538
  private emitter;
@@ -956,11 +1134,8 @@ declare module '@tiptap/core' {
956
1134
 
957
1135
  declare module '@tiptap/core' {
958
1136
  interface Commands<ReturnType> {
959
- emoji: {
960
- setEmoji: (emoji: {
961
- name: string;
962
- emoji: string;
963
- }) => ReturnType;
1137
+ excalidraw: {
1138
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
964
1139
  };
965
1140
  }
966
1141
  }
@@ -968,8 +1143,11 @@ declare module '@tiptap/core' {
968
1143
 
969
1144
  declare module '@tiptap/core' {
970
1145
  interface Commands<ReturnType> {
971
- excalidraw: {
972
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
1146
+ emoji: {
1147
+ setEmoji: (emoji: {
1148
+ name: string;
1149
+ emoji: string;
1150
+ }) => ReturnType;
973
1151
  };
974
1152
  }
975
1153
  }
@@ -1066,6 +1244,15 @@ declare module '@tiptap/core' {
1066
1244
  }
1067
1245
 
1068
1246
 
1247
+ declare module '@tiptap/core' {
1248
+ interface Commands<ReturnType> {
1249
+ katex: {
1250
+ setKatex: (arg?: IKatexAttrs) => ReturnType;
1251
+ };
1252
+ }
1253
+ }
1254
+
1255
+
1069
1256
  declare module '@tiptap/core' {
1070
1257
  interface Commands<ReturnType> {
1071
1258
  indent: {
@@ -1082,15 +1269,6 @@ declare module '@tiptap/core' {
1082
1269
  }
1083
1270
 
1084
1271
 
1085
- declare module '@tiptap/core' {
1086
- interface Commands<ReturnType> {
1087
- katex: {
1088
- setKatex: (arg?: IKatexAttrs) => ReturnType;
1089
- };
1090
- }
1091
- }
1092
-
1093
-
1094
1272
  declare module '@tiptap/core' {
1095
1273
  interface Commands<ReturnType> {
1096
1274
  lineHeight: {
@@ -1152,15 +1330,14 @@ declare module '@tiptap/core' {
1152
1330
 
1153
1331
  declare module '@tiptap/core' {
1154
1332
  interface Commands<ReturnType> {
1155
- video: {
1156
- /**
1157
- * Add an video
1158
- */
1159
- setVideo: (options: Partial<SetVideoOptions>) => ReturnType;
1333
+ twitter: {
1160
1334
  /**
1161
- * Update an video
1335
+ * Insert a tweet
1336
+ * @param options The tweet attributes
1337
+ * @example editor.commands.setTweet({ src: 'https://x.com/seanpk/status/1800145949580517852' })
1162
1338
  */
1163
- updateVideo: (options: Partial<SetVideoOptions>) => ReturnType;
1339
+ setTweet: (options: SetTweetOptions) => ReturnType;
1340
+ updateTweet: (options: SetTweetOptions) => ReturnType;
1164
1341
  };
1165
1342
  }
1166
1343
  }
@@ -1168,14 +1345,15 @@ declare module '@tiptap/core' {
1168
1345
 
1169
1346
  declare module '@tiptap/core' {
1170
1347
  interface Commands<ReturnType> {
1171
- twitter: {
1348
+ video: {
1172
1349
  /**
1173
- * Insert a tweet
1174
- * @param options The tweet attributes
1175
- * @example editor.commands.setTweet({ src: 'https://x.com/seanpk/status/1800145949580517852' })
1350
+ * Add an video
1176
1351
  */
1177
- setTweet: (options: SetTweetOptions) => ReturnType;
1178
- updateTweet: (options: SetTweetOptions) => ReturnType;
1352
+ setVideo: (options: Partial<SetVideoOptions>) => ReturnType;
1353
+ /**
1354
+ * Update an video
1355
+ */
1356
+ updateVideo: (options: Partial<SetVideoOptions>) => ReturnType;
1179
1357
  };
1180
1358
  }
1181
1359
  }
@@ -1,6 +1,7 @@
1
- import { a as e, b as l, l as o, e as _, c, d as h } from "./index-Tj3Ci7xM.js";
1
+ import { a as e, f, b as l, l as o, e as _, c, d as h } from "./index-CsK90iVd.js";
2
2
  export {
3
3
  e as en,
4
+ f as fi,
4
5
  l as hu_HU,
5
6
  o as locale,
6
7
  _ as pt_BR,
@@ -1,6 +1,6 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import * as c from "react";
3
- import { d as o } from "./RichTextEditor-CtxIf8pq.js";
3
+ import { d as o } from "./RichTextEditor-CrDGx-K7.js";
4
4
  const x = c.forwardRef(
5
5
  ({ className: t, ...e }, r) => /* @__PURE__ */ i(
6
6
  "textarea",
@@ -1 +1 @@
1
- "use strict";const n=require("react/jsx-runtime"),o=require("react"),a=require("./RichTextEditor-DtxJlApT.cjs");function s(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const u=s(o),c=u.forwardRef(({className:e,...r},t)=>n.jsx("textarea",{className:a.cn("richtext-flex richtext-min-h-[80px] richtext-w-full richtext-rounded-md !richtext-border richtext-border-input richtext-bg-background richtext-px-3 richtext-py-2 richtext-text-sm richtext-ring-offset-background placeholder:richtext-text-muted-foreground focus-visible:richtext-outline-none focus-visible:richtext-ring-2 focus-visible:richtext-ring-ring focus-visible:richtext-ring-offset-2 disabled:richtext-cursor-not-allowed disabled:richtext-opacity-50",e),ref:t,...r}));c.displayName="Textarea";exports.Textarea=c;
1
+ "use strict";const n=require("react/jsx-runtime"),o=require("react"),a=require("./RichTextEditor-CSA367l8.cjs");function s(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const u=s(o),c=u.forwardRef(({className:e,...r},t)=>n.jsx("textarea",{className:a.cn("richtext-flex richtext-min-h-[80px] richtext-w-full richtext-rounded-md !richtext-border richtext-border-input richtext-bg-background richtext-px-3 richtext-py-2 richtext-text-sm richtext-ring-offset-background placeholder:richtext-text-muted-foreground focus-visible:richtext-outline-none focus-visible:richtext-ring-2 focus-visible:richtext-ring-ring focus-visible:richtext-ring-offset-2 disabled:richtext-cursor-not-allowed disabled:richtext-opacity-50",e),ref:t,...r}));c.displayName="Textarea";exports.Textarea=c;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "reactjs-tiptap-editor",
3
3
  "type": "module",
4
- "version": "0.3.22",
4
+ "version": "0.3.24",
5
5
  "packageManager": "pnpm@8.15.9",
6
6
  "description": "A modern WYSIWYG rich text editor based on tiptap and shadcn ui for React",
7
7
  "license": "MIT",