reactjs-tiptap-editor 0.3.23 → 0.3.25
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/lib/{ActionMenuButton-5AJJxQy1.cjs → ActionMenuButton-B3XOtCey.cjs} +1 -1
- package/lib/{ActionMenuButton-DwzYAKDg.js → ActionMenuButton-Bh2ft7th.js} +1 -1
- package/lib/Attachment.cjs +1 -1
- package/lib/Attachment.d.cts +20 -20
- package/lib/Attachment.d.ts +20 -20
- package/lib/Attachment.js +2 -2
- package/lib/Blockquote.cjs +1 -1
- package/lib/Blockquote.d.cts +20 -20
- package/lib/Blockquote.d.ts +20 -20
- package/lib/Blockquote.js +1 -1
- package/lib/Bold.cjs +1 -1
- package/lib/Bold.d.cts +20 -20
- package/lib/Bold.d.ts +20 -20
- package/lib/Bold.js +1 -1
- package/lib/BulletList.cjs +1 -1
- package/lib/BulletList.d.cts +20 -20
- package/lib/BulletList.d.ts +20 -20
- package/lib/BulletList.js +1 -1
- package/lib/Clear.cjs +1 -1
- package/lib/Clear.d.cts +20 -20
- package/lib/Clear.d.ts +20 -20
- package/lib/Clear.js +1 -1
- package/lib/Code.cjs +1 -1
- package/lib/Code.d.cts +20 -20
- package/lib/Code.d.ts +20 -20
- package/lib/Code.js +1 -1
- package/lib/CodeBlock.cjs +1 -1
- package/lib/CodeBlock.d.cts +20 -20
- package/lib/CodeBlock.d.ts +20 -20
- package/lib/CodeBlock.js +1 -1
- package/lib/CodeView.cjs +1 -1
- package/lib/CodeView.d.cts +20 -20
- package/lib/CodeView.d.ts +20 -20
- package/lib/CodeView.js +1 -1
- package/lib/Color.cjs +1 -1
- package/lib/Color.d.cts +20 -20
- package/lib/Color.d.ts +20 -20
- package/lib/Color.js +1 -1
- package/lib/Document.d.cts +20 -20
- package/lib/Document.d.ts +20 -20
- package/lib/{Drawer-CCzPaigS.cjs → Drawer-CUntRzbs.cjs} +1 -1
- package/lib/{Drawer-Dc03j6W1.js → Drawer-Orz21MYs.js} +10 -10
- package/lib/Drawer.cjs +1 -1
- package/lib/Drawer.d.cts +20 -20
- package/lib/Drawer.d.ts +20 -20
- package/lib/Drawer.js +2 -2
- package/lib/Emoji.cjs +1 -1
- package/lib/Emoji.d.cts +20 -20
- package/lib/Emoji.d.ts +20 -20
- package/lib/Emoji.js +2 -2
- package/lib/{Excalidraw-Bxo4S3ET.cjs → Excalidraw-Bu8XuykT.cjs} +1 -1
- package/lib/{Excalidraw-yQ7O39ws.js → Excalidraw-Cj-sXq5F.js} +2 -2
- package/lib/Excalidraw.cjs +1 -1
- package/lib/Excalidraw.d.cts +20 -20
- package/lib/Excalidraw.d.ts +20 -20
- package/lib/Excalidraw.js +1 -1
- package/lib/ExportPdf.cjs +1 -1
- package/lib/ExportPdf.d.cts +20 -20
- package/lib/ExportPdf.d.ts +20 -20
- package/lib/ExportPdf.js +1 -1
- package/lib/ExportWord.cjs +1 -1
- package/lib/ExportWord.d.cts +20 -20
- package/lib/ExportWord.d.ts +20 -20
- package/lib/ExportWord.js +1 -1
- package/lib/FontFamily.cjs +1 -1
- package/lib/FontFamily.d.cts +20 -20
- package/lib/FontFamily.d.ts +20 -20
- package/lib/FontFamily.js +5 -5
- package/lib/FontSize.cjs +1 -1
- package/lib/FontSize.d.cts +20 -20
- package/lib/FontSize.d.ts +20 -20
- package/lib/FontSize.js +3 -3
- package/lib/FormatPainter.cjs +1 -1
- package/lib/FormatPainter.d.cts +20 -20
- package/lib/FormatPainter.d.ts +20 -20
- package/lib/FormatPainter.js +1 -1
- package/lib/Heading.cjs +1 -1
- package/lib/Heading.d.cts +20 -20
- package/lib/Heading.d.ts +20 -20
- package/lib/Heading.js +2 -2
- package/lib/Highlight.cjs +1 -1
- package/lib/Highlight.d.cts +20 -20
- package/lib/Highlight.d.ts +20 -20
- package/lib/Highlight.js +1 -1
- package/lib/History.cjs +1 -1
- package/lib/History.d.cts +20 -20
- package/lib/History.d.ts +20 -20
- package/lib/History.js +1 -1
- package/lib/HorizontalRule.cjs +1 -1
- package/lib/HorizontalRule.d.cts +20 -20
- package/lib/HorizontalRule.d.ts +20 -20
- package/lib/HorizontalRule.js +1 -1
- package/lib/Iframe.cjs +1 -1
- package/lib/Iframe.d.cts +20 -20
- package/lib/Iframe.d.ts +20 -20
- package/lib/Iframe.js +1 -1
- package/lib/Image.cjs +1 -1
- package/lib/Image.d.cts +20 -20
- package/lib/Image.d.ts +20 -20
- package/lib/Image.js +1 -1
- package/lib/ImageGif.cjs +1 -1
- package/lib/ImageGif.d.cts +20 -20
- package/lib/ImageGif.d.ts +20 -20
- package/lib/ImageGif.js +1 -1
- package/lib/ImportWord.cjs +1 -1
- package/lib/ImportWord.d.cts +20 -20
- package/lib/ImportWord.d.ts +20 -20
- package/lib/ImportWord.js +2 -2
- package/lib/Indent.cjs +1 -1
- package/lib/Indent.d.cts +20 -20
- package/lib/Indent.d.ts +20 -20
- package/lib/Indent.js +1 -1
- package/lib/Italic.cjs +1 -1
- package/lib/Italic.d.cts +20 -20
- package/lib/Italic.d.ts +20 -20
- package/lib/Italic.js +1 -1
- package/lib/Katex.cjs +1 -1
- package/lib/Katex.d.cts +20 -20
- package/lib/Katex.d.ts +20 -20
- package/lib/Katex.js +3 -3
- package/lib/LineHeight.cjs +1 -1
- package/lib/LineHeight.d.cts +20 -20
- package/lib/LineHeight.d.ts +20 -20
- package/lib/LineHeight.js +6 -6
- package/lib/Link.cjs +1 -1
- package/lib/Link.d.cts +20 -20
- package/lib/Link.d.ts +20 -20
- package/lib/Link.js +1 -1
- package/lib/ListItem.d.cts +20 -20
- package/lib/ListItem.d.ts +20 -20
- package/lib/Mention.d.cts +20 -20
- package/lib/Mention.d.ts +20 -20
- package/lib/Mermaid.cjs +1 -1
- package/lib/Mermaid.d.cts +20 -20
- package/lib/Mermaid.d.ts +20 -20
- package/lib/Mermaid.js +14 -14
- package/lib/MoreMark.cjs +1 -1
- package/lib/MoreMark.d.cts +20 -20
- package/lib/MoreMark.d.ts +20 -20
- package/lib/MoreMark.js +1 -1
- package/lib/MultiColumn.cjs +1 -1
- package/lib/MultiColumn.d.cts +20 -20
- package/lib/MultiColumn.d.ts +20 -20
- package/lib/MultiColumn.js +1 -1
- package/lib/OrderedList.cjs +1 -1
- package/lib/OrderedList.d.cts +20 -20
- package/lib/OrderedList.d.ts +20 -20
- package/lib/OrderedList.js +1 -1
- package/lib/{RichTextEditor-BnC1uaUo.cjs → RichTextEditor-B5WYnm7K.cjs} +2 -2
- package/lib/{RichTextEditor-CqgbZwS5.js → RichTextEditor-CfAFp9V2.js} +146 -107
- package/lib/SearchAndReplace.cjs +1 -1
- package/lib/SearchAndReplace.d.cts +20 -20
- package/lib/SearchAndReplace.d.ts +20 -20
- package/lib/SearchAndReplace.js +2 -2
- package/lib/Selection.d.cts +20 -20
- package/lib/Selection.d.ts +20 -20
- package/lib/SlashCommand.cjs +1 -1
- package/lib/SlashCommand.d.cts +20 -20
- package/lib/SlashCommand.d.ts +20 -20
- package/lib/SlashCommand.js +2 -2
- package/lib/Strike.cjs +1 -1
- package/lib/Strike.d.cts +20 -20
- package/lib/Strike.d.ts +20 -20
- package/lib/Strike.js +1 -1
- package/lib/SubAndSuperScript.cjs +1 -1
- package/lib/SubAndSuperScript.d.cts +20 -20
- package/lib/SubAndSuperScript.d.ts +20 -20
- package/lib/SubAndSuperScript.js +1 -1
- package/lib/Table.cjs +1 -1
- package/lib/Table.d.cts +20 -20
- package/lib/Table.d.ts +20 -20
- package/lib/Table.js +531 -531
- package/lib/TableOfContent.cjs +1 -1
- package/lib/TableOfContent.d.cts +20 -20
- package/lib/TableOfContent.d.ts +20 -20
- package/lib/TableOfContent.js +2 -2
- package/lib/TaskList.cjs +1 -1
- package/lib/TaskList.d.cts +20 -20
- package/lib/TaskList.d.ts +20 -20
- package/lib/TaskList.js +1 -1
- package/lib/TextAlign.cjs +1 -1
- package/lib/TextAlign.d.cts +20 -20
- package/lib/TextAlign.d.ts +20 -20
- package/lib/TextAlign.js +1 -1
- package/lib/TextBubble.cjs +1 -1
- package/lib/TextBubble.d.cts +20 -20
- package/lib/TextBubble.d.ts +20 -20
- package/lib/TextBubble.js +2 -2
- package/lib/TextDirection.cjs +1 -1
- package/lib/TextDirection.d.cts +20 -20
- package/lib/TextDirection.d.ts +20 -20
- package/lib/TextDirection.js +1 -1
- package/lib/TextUnderline.cjs +1 -1
- package/lib/TextUnderline.d.cts +20 -20
- package/lib/TextUnderline.d.ts +20 -20
- package/lib/TextUnderline.js +1 -1
- package/lib/TrailingNode.d.cts +20 -20
- package/lib/TrailingNode.d.ts +20 -20
- package/lib/{Twitter-DjzxXZcS.js → Twitter-9AKqIK4p.js} +2 -2
- package/lib/{Twitter-2BEmpZYn.cjs → Twitter-BFwUowi8.cjs} +1 -1
- package/lib/Twitter.cjs +1 -1
- package/lib/Twitter.d.cts +20 -20
- package/lib/Twitter.d.ts +20 -20
- package/lib/Twitter.js +1 -1
- package/lib/Video.cjs +1 -1
- package/lib/Video.d.cts +20 -20
- package/lib/Video.d.ts +20 -20
- package/lib/Video.js +2 -2
- package/lib/bubble-extra.cjs +1 -1
- package/lib/bubble-extra.d.cts +20 -20
- package/lib/bubble-extra.d.ts +20 -20
- package/lib/bubble-extra.js +6 -6
- package/lib/{index-Tj3Ci7xM.js → index-CsK90iVd.js} +306 -128
- package/lib/index-D_A0TBRA.cjs +1 -0
- package/lib/index.cjs +1 -1
- package/lib/index.d.cts +20 -20
- package/lib/index.d.ts +20 -20
- package/lib/index.js +3 -3
- package/lib/locale-bundle.cjs +1 -1
- package/lib/locale-bundle.d.cts +199 -21
- package/lib/locale-bundle.d.ts +199 -21
- package/lib/locale-bundle.js +2 -1
- package/lib/{textarea-ClmQTGYC.js → textarea-CWt0EMiJ.js} +1 -1
- package/lib/{textarea-DsAuYgt7.cjs → textarea-bND4WL8o.cjs} +1 -1
- package/package.json +1 -1
- package/lib/index-C19MB4Al.cjs +0 -1
package/lib/locale-bundle.d.cts
CHANGED
|
@@ -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;
|
|
@@ -946,9 +1124,11 @@ declare module '@tiptap/core' {
|
|
|
946
1124
|
|
|
947
1125
|
declare module '@tiptap/core' {
|
|
948
1126
|
interface Commands<ReturnType> {
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
1127
|
+
emoji: {
|
|
1128
|
+
setEmoji: (emoji: {
|
|
1129
|
+
name: string;
|
|
1130
|
+
emoji: string;
|
|
1131
|
+
}) => ReturnType;
|
|
952
1132
|
};
|
|
953
1133
|
}
|
|
954
1134
|
}
|
|
@@ -956,11 +1136,9 @@ declare module '@tiptap/core' {
|
|
|
956
1136
|
|
|
957
1137
|
declare module '@tiptap/core' {
|
|
958
1138
|
interface Commands<ReturnType> {
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
emoji: string;
|
|
963
|
-
}) => ReturnType;
|
|
1139
|
+
drawer: {
|
|
1140
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
1141
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
964
1142
|
};
|
|
965
1143
|
}
|
|
966
1144
|
}
|
|
@@ -1028,19 +1206,19 @@ declare module '@tiptap/core' {
|
|
|
1028
1206
|
|
|
1029
1207
|
declare module '@tiptap/core' {
|
|
1030
1208
|
interface Commands<ReturnType> {
|
|
1031
|
-
|
|
1209
|
+
imageGifUpload: {
|
|
1032
1210
|
/**
|
|
1033
|
-
* Add an image
|
|
1211
|
+
* Add an image gif
|
|
1034
1212
|
*/
|
|
1035
|
-
|
|
1213
|
+
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1036
1214
|
/**
|
|
1037
|
-
* Update an image
|
|
1215
|
+
* Update an image gif
|
|
1038
1216
|
*/
|
|
1039
|
-
|
|
1217
|
+
updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1040
1218
|
/**
|
|
1041
1219
|
* Set image alignment
|
|
1042
1220
|
*/
|
|
1043
|
-
|
|
1221
|
+
setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
1044
1222
|
};
|
|
1045
1223
|
}
|
|
1046
1224
|
}
|
|
@@ -1048,19 +1226,19 @@ declare module '@tiptap/core' {
|
|
|
1048
1226
|
|
|
1049
1227
|
declare module '@tiptap/core' {
|
|
1050
1228
|
interface Commands<ReturnType> {
|
|
1051
|
-
|
|
1229
|
+
imageUpload: {
|
|
1052
1230
|
/**
|
|
1053
|
-
* Add an image
|
|
1231
|
+
* Add an image
|
|
1054
1232
|
*/
|
|
1055
|
-
|
|
1233
|
+
setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1056
1234
|
/**
|
|
1057
|
-
* Update an image
|
|
1235
|
+
* Update an image
|
|
1058
1236
|
*/
|
|
1059
|
-
|
|
1237
|
+
updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1060
1238
|
/**
|
|
1061
1239
|
* Set image alignment
|
|
1062
1240
|
*/
|
|
1063
|
-
|
|
1241
|
+
setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
1064
1242
|
};
|
|
1065
1243
|
}
|
|
1066
1244
|
}
|
package/lib/locale-bundle.d.ts
CHANGED
|
@@ -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;
|
|
@@ -946,9 +1124,11 @@ declare module '@tiptap/core' {
|
|
|
946
1124
|
|
|
947
1125
|
declare module '@tiptap/core' {
|
|
948
1126
|
interface Commands<ReturnType> {
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
1127
|
+
emoji: {
|
|
1128
|
+
setEmoji: (emoji: {
|
|
1129
|
+
name: string;
|
|
1130
|
+
emoji: string;
|
|
1131
|
+
}) => ReturnType;
|
|
952
1132
|
};
|
|
953
1133
|
}
|
|
954
1134
|
}
|
|
@@ -956,11 +1136,9 @@ declare module '@tiptap/core' {
|
|
|
956
1136
|
|
|
957
1137
|
declare module '@tiptap/core' {
|
|
958
1138
|
interface Commands<ReturnType> {
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
emoji: string;
|
|
963
|
-
}) => ReturnType;
|
|
1139
|
+
drawer: {
|
|
1140
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
1141
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
964
1142
|
};
|
|
965
1143
|
}
|
|
966
1144
|
}
|
|
@@ -1028,19 +1206,19 @@ declare module '@tiptap/core' {
|
|
|
1028
1206
|
|
|
1029
1207
|
declare module '@tiptap/core' {
|
|
1030
1208
|
interface Commands<ReturnType> {
|
|
1031
|
-
|
|
1209
|
+
imageGifUpload: {
|
|
1032
1210
|
/**
|
|
1033
|
-
* Add an image
|
|
1211
|
+
* Add an image gif
|
|
1034
1212
|
*/
|
|
1035
|
-
|
|
1213
|
+
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1036
1214
|
/**
|
|
1037
|
-
* Update an image
|
|
1215
|
+
* Update an image gif
|
|
1038
1216
|
*/
|
|
1039
|
-
|
|
1217
|
+
updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1040
1218
|
/**
|
|
1041
1219
|
* Set image alignment
|
|
1042
1220
|
*/
|
|
1043
|
-
|
|
1221
|
+
setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
1044
1222
|
};
|
|
1045
1223
|
}
|
|
1046
1224
|
}
|
|
@@ -1048,19 +1226,19 @@ declare module '@tiptap/core' {
|
|
|
1048
1226
|
|
|
1049
1227
|
declare module '@tiptap/core' {
|
|
1050
1228
|
interface Commands<ReturnType> {
|
|
1051
|
-
|
|
1229
|
+
imageUpload: {
|
|
1052
1230
|
/**
|
|
1053
|
-
* Add an image
|
|
1231
|
+
* Add an image
|
|
1054
1232
|
*/
|
|
1055
|
-
|
|
1233
|
+
setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1056
1234
|
/**
|
|
1057
|
-
* Update an image
|
|
1235
|
+
* Update an image
|
|
1058
1236
|
*/
|
|
1059
|
-
|
|
1237
|
+
updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1060
1238
|
/**
|
|
1061
1239
|
* Set image alignment
|
|
1062
1240
|
*/
|
|
1063
|
-
|
|
1241
|
+
setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
1064
1242
|
};
|
|
1065
1243
|
}
|
|
1066
1244
|
}
|
package/lib/locale-bundle.js
CHANGED
|
@@ -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-
|
|
3
|
+
import { d as o } from "./RichTextEditor-CfAFp9V2.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-
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),o=require("react"),a=require("./RichTextEditor-B5WYnm7K.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