tiptapify 0.4.0 → 0.4.2

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 (49) hide show
  1. package/dist/tiptapify.css +1 -1
  2. package/dist/tiptapify.mjs +7593 -6318
  3. package/dist/tiptapify.umd.js +64 -64
  4. package/index.d.ts +3 -0
  5. package/package.json +2 -1
  6. package/src/components/Toolbar/actions.ts +5 -0
  7. package/src/components/editorExtensions.ts +2 -0
  8. package/src/extensions/components/actions/reset/Button.vue +108 -0
  9. package/src/extensions/components/actions/reset/resetChanges.test.ts +99 -0
  10. package/src/extensions/components/actions/reset/resetChanges.ts +78 -0
  11. package/src/extensions/components/media/image/imageDialog.test.ts +10 -0
  12. package/src/extensions/components/media/image/imageDialog.ts +6 -3
  13. package/src/i18n/locales/ar.json +4 -0
  14. package/src/i18n/locales/bg.json +4 -0
  15. package/src/i18n/locales/ch.json +4 -0
  16. package/src/i18n/locales/cz.json +4 -0
  17. package/src/i18n/locales/de.json +4 -0
  18. package/src/i18n/locales/el.json +4 -0
  19. package/src/i18n/locales/en.json +4 -0
  20. package/src/i18n/locales/es.json +4 -0
  21. package/src/i18n/locales/et.json +4 -0
  22. package/src/i18n/locales/fi.json +4 -0
  23. package/src/i18n/locales/fr.json +4 -0
  24. package/src/i18n/locales/he.json +4 -0
  25. package/src/i18n/locales/hi.json +4 -0
  26. package/src/i18n/locales/hr.json +4 -0
  27. package/src/i18n/locales/hu.json +4 -0
  28. package/src/i18n/locales/id.json +4 -0
  29. package/src/i18n/locales/it.json +4 -0
  30. package/src/i18n/locales/ja.json +4 -0
  31. package/src/i18n/locales/ko.json +4 -0
  32. package/src/i18n/locales/la.json +4 -0
  33. package/src/i18n/locales/lt.json +4 -0
  34. package/src/i18n/locales/nl.json +4 -0
  35. package/src/i18n/locales/no.json +4 -0
  36. package/src/i18n/locales/pl.json +4 -0
  37. package/src/i18n/locales/pt-BR.json +4 -0
  38. package/src/i18n/locales/pt.json +4 -0
  39. package/src/i18n/locales/ro.json +4 -0
  40. package/src/i18n/locales/ru.json +4 -0
  41. package/src/i18n/locales/se.json +4 -0
  42. package/src/i18n/locales/sk.json +4 -0
  43. package/src/i18n/locales/sl.json +4 -0
  44. package/src/i18n/locales/sr.json +4 -0
  45. package/src/i18n/locales/th.json +4 -0
  46. package/src/i18n/locales/tr.json +4 -0
  47. package/src/i18n/locales/uk.json +4 -0
  48. package/src/i18n/locales/vi.json +4 -0
  49. package/src/index.ts +2 -0
@@ -1,6 +1,10 @@
1
1
  {
2
2
  "action": {
3
3
  "redo": "Gjør om",
4
+ "reset": "Tilbakestill",
5
+ "reset_changes": "Tilbakestill endringer",
6
+ "reset_changes_confirm": "Alle endringer siden redigeringsprogrammet ble åpnet, forkastes. Dette kan ikke angres.",
7
+ "reset_changes_dont_ask": "Ikke spør igjen",
4
8
  "undo": "Angre"
5
9
  },
6
10
  "ai": {
@@ -1,6 +1,10 @@
1
1
  {
2
2
  "action": {
3
3
  "redo": "Ponów",
4
+ "reset": "Resetuj",
5
+ "reset_changes": "Resetuj zmiany",
6
+ "reset_changes_confirm": "Wszystkie zmiany od otwarcia edytora zostaną odrzucone. Tej operacji nie można cofnąć.",
7
+ "reset_changes_dont_ask": "Nie pytaj ponownie",
4
8
  "undo": "Cofnij"
5
9
  },
6
10
  "ai": {
@@ -1,6 +1,10 @@
1
1
  {
2
2
  "action": {
3
3
  "redo": "Refazer",
4
+ "reset": "Redefinir",
5
+ "reset_changes": "Redefinir alterações",
6
+ "reset_changes_confirm": "Todas as alterações desde que o editor foi aberto serão descartadas. Isso não pode ser desfeito.",
7
+ "reset_changes_dont_ask": "Não perguntar novamente",
4
8
  "undo": "Desfazer"
5
9
  },
6
10
  "ai": {
@@ -1,6 +1,10 @@
1
1
  {
2
2
  "action": {
3
3
  "redo": "Refazer",
4
+ "reset": "Repor",
5
+ "reset_changes": "Repor alterações",
6
+ "reset_changes_confirm": "Todas as alterações desde que o editor foi aberto serão descartadas. Esta ação não pode ser anulada.",
7
+ "reset_changes_dont_ask": "Não voltar a perguntar",
4
8
  "undo": "Desfazer"
5
9
  },
6
10
  "ai": {
@@ -1,6 +1,10 @@
1
1
  {
2
2
  "action": {
3
3
  "redo": "Refăce",
4
+ "reset": "Resetează",
5
+ "reset_changes": "Resetează modificările",
6
+ "reset_changes_confirm": "Toate modificările de la deschiderea editorului vor fi eliminate. Acțiunea nu poate fi anulată.",
7
+ "reset_changes_dont_ask": "Nu mai întreba",
4
8
  "undo": "Anulează"
5
9
  },
6
10
  "ai": {
@@ -1,6 +1,10 @@
1
1
  {
2
2
  "action": {
3
3
  "redo": "Повтор",
4
+ "reset": "Сбросить",
5
+ "reset_changes": "Сбросить изменения",
6
+ "reset_changes_confirm": "Все изменения с момента открытия редактора будут отменены. Это действие нельзя отменить.",
7
+ "reset_changes_dont_ask": "Больше не спрашивать",
4
8
  "undo": "Отмена"
5
9
  },
6
10
  "ai": {
@@ -1,6 +1,10 @@
1
1
  {
2
2
  "action": {
3
3
  "redo": "Gör om",
4
+ "reset": "Återställ",
5
+ "reset_changes": "Återställ ändringar",
6
+ "reset_changes_confirm": "Alla ändringar sedan redigeraren öppnades förkastas. Detta kan inte ångras.",
7
+ "reset_changes_dont_ask": "Fråga inte igen",
4
8
  "undo": "Ångra"
5
9
  },
6
10
  "ai": {
@@ -1,6 +1,10 @@
1
1
  {
2
2
  "action": {
3
3
  "redo": "Znova",
4
+ "reset": "Obnoviť",
5
+ "reset_changes": "Zahodiť zmeny",
6
+ "reset_changes_confirm": "Všetky zmeny od otvorenia editora budú zahodené. Túto akciu nemožno vrátiť späť.",
7
+ "reset_changes_dont_ask": "Už sa nepýtať",
4
8
  "undo": "Späť"
5
9
  },
6
10
  "ai": {
@@ -1,6 +1,10 @@
1
1
  {
2
2
  "action": {
3
3
  "redo": "Ponovi",
4
+ "reset": "Ponastavi",
5
+ "reset_changes": "Ponastavi spremembe",
6
+ "reset_changes_confirm": "Vse spremembe od odprtja urejevalnika bodo zavržene. Tega ni mogoče razveljaviti.",
7
+ "reset_changes_dont_ask": "Ne sprašuj več",
4
8
  "undo": "Razveljavi"
5
9
  },
6
10
  "ai": {
@@ -1,6 +1,10 @@
1
1
  {
2
2
  "action": {
3
3
  "redo": "Ponovo",
4
+ "reset": "Resetuj",
5
+ "reset_changes": "Resetuj izmene",
6
+ "reset_changes_confirm": "Sve izmene od otvaranja uređivača biće odbačene. Ovo se ne može poništiti.",
7
+ "reset_changes_dont_ask": "Ne pitaj ponovo",
4
8
  "undo": "Poništi"
5
9
  },
6
10
  "ai": {
@@ -1,6 +1,10 @@
1
1
  {
2
2
  "action": {
3
3
  "redo": "ทำซ้ำ",
4
+ "reset": "รีเซ็ต",
5
+ "reset_changes": "รีเซ็ตการเปลี่ยนแปลง",
6
+ "reset_changes_confirm": "การเปลี่ยนแปลงทั้งหมดตั้งแต่เปิดตัวแก้ไขจะถูกยกเลิก การดำเนินการนี้ไม่สามารถย้อนกลับได้",
7
+ "reset_changes_dont_ask": "ไม่ต้องถามอีก",
4
8
  "undo": "ยกเลิก"
5
9
  },
6
10
  "ai": {
@@ -1,6 +1,10 @@
1
1
  {
2
2
  "action": {
3
3
  "redo": "Yinele",
4
+ "reset": "Sıfırla",
5
+ "reset_changes": "Değişiklikleri sıfırla",
6
+ "reset_changes_confirm": "Düzenleyici açıldığından beri yapılan tüm değişiklikler silinecek. Bu işlem geri alınamaz.",
7
+ "reset_changes_dont_ask": "Bir daha sorma",
4
8
  "undo": "Geri al"
5
9
  },
6
10
  "ai": {
@@ -1,6 +1,10 @@
1
1
  {
2
2
  "action": {
3
3
  "redo": "Повтор",
4
+ "reset": "Скинути",
5
+ "reset_changes": "Скинути зміни",
6
+ "reset_changes_confirm": "Усі зміни з моменту відкриття редактора буде скасовано. Цю дію не можна скасувати.",
7
+ "reset_changes_dont_ask": "Більше не питати",
4
8
  "undo": "Відміна"
5
9
  },
6
10
  "ai": {
@@ -1,6 +1,10 @@
1
1
  {
2
2
  "action": {
3
3
  "redo": "Làm lại",
4
+ "reset": "Đặt lại",
5
+ "reset_changes": "Đặt lại thay đổi",
6
+ "reset_changes_confirm": "Mọi thay đổi kể từ khi mở trình soạn thảo sẽ bị hủy. Không thể hoàn tác thao tác này.",
7
+ "reset_changes_dont_ask": "Không hỏi lại",
4
8
  "undo": "Hoàn tác"
5
9
  },
6
10
  "ai": {
package/src/index.ts CHANGED
@@ -6,6 +6,7 @@ import { TiptapifyFooterAlignment } from '@tiptapify/types/editor'
6
6
  import { createAiBackendProvider } from '@tiptapify/extensions/components/ai/backend'
7
7
  import { registerSkin, defineSkin } from '@tiptapify/skins/registry'
8
8
  import { contentCss, inlineContentStyles } from '@tiptapify/utils/contentStyles'
9
+ import * as imageDialog from '@tiptapify/extensions/components/media/image/imageDialog'
9
10
 
10
11
  import { Editor as TipTapEditor, nodeViewProps, NodeViewWrapper, VueNodeViewRenderer } from '@tiptap/vue-3'
11
12
  import { Node, Mark, markInputRule, markPasteRule, mergeAttributes } from '@tiptap/core'
@@ -55,6 +56,7 @@ export {
55
56
  defineSkin,
56
57
  contentCss,
57
58
  inlineContentStyles,
59
+ imageDialog,
58
60
  }
59
61
 
60
62
  export type { TiptapifyConfig } from '@tiptapify/composables/useTiptapifyConfig'