tiptapify 0.0.10 → 0.0.11

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 (46) hide show
  1. package/README.md +1 -1
  2. package/dist/tiptapify.css +1 -1
  3. package/dist/tiptapify.mjs +17514 -17174
  4. package/dist/tiptapify.umd.js +37 -38
  5. package/package.json +40 -40
  6. package/src/components/Tiptapify.vue +2 -2
  7. package/src/components/Toolbar/GroupBtn.vue +2 -2
  8. package/src/components/Toolbar/GroupDropdown.vue +4 -4
  9. package/src/components/Toolbar/Index.vue +3 -2
  10. package/src/components/Toolbar/Items.vue +2 -2
  11. package/src/components/Toolbar/Toggle.vue +2 -2
  12. package/src/components/Toolbar/items.ts +20 -20
  13. package/src/components/editorExtensions.ts +1 -1
  14. package/src/{components/Toolbar/items/actions.ts → composables/Toolbar/useActionsItems.ts} +6 -3
  15. package/src/{components/Toolbar/items/alignment.ts → composables/Toolbar/useAlignmentItems.ts} +12 -9
  16. package/src/{components/Toolbar/items/formatExtra.ts → composables/Toolbar/useFormatExtraItems.ts} +9 -6
  17. package/src/{components/Toolbar/items/format.ts → composables/Toolbar/useFormatItems.ts} +8 -5
  18. package/src/{components/Toolbar/items/list.ts → composables/Toolbar/useListItems.ts} +14 -11
  19. package/src/{components/Toolbar/items/media.ts → composables/Toolbar/useMediaItems.ts} +22 -20
  20. package/src/{components/Toolbar/items/misc.ts → composables/Toolbar/useMiscItems.ts} +9 -6
  21. package/src/{components/Toolbar/items/style.ts → composables/Toolbar/useStyleItems.ts} +106 -79
  22. package/src/{components/Toolbar/fonts.ts → constants/style.ts} +21 -0
  23. package/src/extensions/components/FontFamily.vue +82 -0
  24. package/src/extensions/components/FontSize.vue +83 -0
  25. package/src/extensions/components/LineHeight.vue +82 -0
  26. package/src/extensions/components/LinkDialog.vue +20 -4
  27. package/src/extensions/components/ShowSourceDialog.vue +3 -2
  28. package/src/extensions/link.ts +8 -0
  29. package/src/extensions/slash-commands.ts +1 -1
  30. package/src/i18n/index.ts +0 -1
  31. package/src/i18n/locales/ch.json +83 -82
  32. package/src/i18n/locales/cz.json +30 -29
  33. package/src/i18n/locales/de.json +26 -25
  34. package/src/i18n/locales/en.json +1 -0
  35. package/src/i18n/locales/es.json +28 -27
  36. package/src/i18n/locales/fr.json +28 -27
  37. package/src/i18n/locales/it.json +30 -29
  38. package/src/i18n/locales/la.json +60 -59
  39. package/src/i18n/locales/lt.json +36 -35
  40. package/src/i18n/locales/nl.json +29 -28
  41. package/src/i18n/locales/pl.json +30 -29
  42. package/src/i18n/locales/pt.json +28 -27
  43. package/src/i18n/locales/ru.json +1 -0
  44. package/src/i18n/locales/se.json +29 -28
  45. package/src/i18n/locales/ua.json +1 -0
  46. /package/src/{components → extensions/components}/CodeBlockComponent.vue +0 -0
@@ -1,36 +1,37 @@
1
1
  {
2
+ "defaultValue": "Standaardwaarde",
2
3
  "content": {
3
- "placeholder": "Schrijf hier iets..."
4
+ "placeholder": "Schrijf iets..."
4
5
  },
5
6
  "style": {
6
- "paragraph": "Paragraaf",
7
- "heading": "Koptekst",
7
+ "paragraph": "paragraaf",
8
+ "heading": "Kop",
8
9
  "headings": {
9
- "h1": "Koptekst niveau 1",
10
- "h2": "Koptekst niveau 2",
11
- "h3": "Koptekst niveau 3",
12
- "h4": "Koptekst niveau 4",
13
- "h5": "Koptekst niveau 5",
14
- "h6": "Koptekst niveau 6"
10
+ "h1": "Kop niveau 1",
11
+ "h2": "Kop niveau 2",
12
+ "h3": "Kop niveau 3",
13
+ "h4": "Kop niveau 4",
14
+ "h5": "Kop niveau 5",
15
+ "h6": "Kop niveau 6"
15
16
  },
16
- "fontFamily": "Lettertypefamilie",
17
- "fontSize": "Lettergrootte",
17
+ "fontFamily": "Lettertype",
18
+ "fontSize": "Grootte",
18
19
  "lineHeight": "Regelhoogte",
19
20
  "color": {
20
21
  "highlight": "Markeringskleur",
21
22
  "text": "Tekstkleur",
22
- "unset": "Kleur verwijderen",
23
- "custom": "Aangepaste kleur"
23
+ "unset": "Kleur wissen",
24
+ "custom": "Eigen keuze"
24
25
  }
25
26
  },
26
27
  "format": {
27
28
  "bold": "Vet",
28
29
  "italic": "Cursief",
29
- "strike": "Doorgestreept",
30
- "underline": "Onderstreept",
30
+ "strike": "Doorhalen",
31
+ "underline": "Onderstrepen",
31
32
  "sup": "Superscript",
32
33
  "sub": "Subscript",
33
- "break": "Harde regeleinde",
34
+ "break": "Regeleinde",
34
35
  "line": "Horizontale lijn",
35
36
  "blockquote": "Citaat",
36
37
  "code": "Code",
@@ -44,7 +45,7 @@
44
45
  "table": "Tabel",
45
46
  "insertTable": "Tabel invoegen",
46
47
  "deleteTable": "Tabel verwijderen",
47
- "insertWithHeaderRow": "Tabel met koptekst invoegen",
48
+ "insertWithHeaderRow": "Tabel met kop invoegen",
48
49
  "rows": "Rijen",
49
50
  "row": "Rij",
50
51
  "insertRowBefore": "Rij ervoor invoegen",
@@ -61,50 +62,50 @@
61
62
  },
62
63
  "action": {
63
64
  "undo": "Ongedaan maken",
64
- "redo": "Opnieuw doen"
65
+ "redo": "Opnieuw"
65
66
  },
66
67
  "alignment": "Uitlijning",
67
68
  "alignments": {
68
69
  "left": "Links uitlijnen",
69
- "center": "Gecentreerd uitlijnen",
70
+ "center": "Centreren",
70
71
  "right": "Rechts uitlijnen",
71
72
  "justify": "Uitvullen"
72
73
  },
73
74
  "list": "Lijst",
74
75
  "lists": {
75
- "bullet": "Ongeordende lijst",
76
+ "bullet": "Ongenummerde lijst",
76
77
  "numbered": "Genummerde lijst",
77
78
  "task": "Takenlijst",
78
- "indent": "Item inspringen",
79
- "outdent": "Inspringen ongedaan maken"
79
+ "indent": "Inspringing verhogen",
80
+ "outdent": "Inspringing verlagen"
80
81
  },
81
82
  "dialog": {
82
83
  "apply": "Toepassen",
83
84
  "clear": "Wissen",
84
85
  "close": "Sluiten",
85
86
  "image": {
86
- "title": "Afbeelding toevoegen/bewerken",
87
+ "title": "Afbeelding toevoegen/wijzigen",
87
88
  "src": "Bron",
88
- "alt": "Alternatieve tekst",
89
+ "alt": "alt",
89
90
  "width": "Breedte",
90
91
  "height": "Hoogte"
91
92
  },
92
93
  "link": {
93
- "title": "Link toevoegen/bewerken",
94
+ "title": "Link toevoegen/wijzigen",
94
95
  "href": "Linkadres",
95
96
  "href_error": "Ongeldig linkadres",
96
97
  "target": "Openen in...",
97
98
  "target_blank": "Nieuw venster",
98
99
  "target_self": "Huidig venster",
99
- "rel": "Rel",
100
- "class": "CSS-klasse"
100
+ "rel": "rel",
101
+ "class": "CSS klasse"
101
102
  },
102
103
  "preview": {
103
104
  "title": "Voorvertoning"
104
105
  },
105
106
  "source": {
106
107
  "title": "Broncode bekijken",
107
- "prettify": "Formatteren"
108
+ "prettify": "prettify"
108
109
  }
109
110
  },
110
111
  "misc": {
@@ -1,26 +1,27 @@
1
1
  {
2
+ "defaultValue": "Wartość domyślna",
2
3
  "content": {
3
- "placeholder": "Napisz coś tutaj..."
4
+ "placeholder": "Napisz coś..."
4
5
  },
5
6
  "style": {
6
- "paragraph": "Akapit",
7
+ "paragraph": "akapit",
7
8
  "heading": "Nagłówek",
8
9
  "headings": {
9
- "h1": "Nagłówek poziom 1",
10
- "h2": "Nagłówek poziom 2",
11
- "h3": "Nagłówek poziom 3",
12
- "h4": "Nagłówek poziom 4",
13
- "h5": "Nagłówek poziom 5",
14
- "h6": "Nagłówek poziom 6"
10
+ "h1": "Nagłówek 1. poziomu",
11
+ "h2": "Nagłówek 2. poziomu",
12
+ "h3": "Nagłówek 3. poziomu",
13
+ "h4": "Nagłówek 4. poziomu",
14
+ "h5": "Nagłówek 5. poziomu",
15
+ "h6": "Nagłówek 6. poziomu"
15
16
  },
16
- "fontFamily": "Rodzina czcionki",
17
- "fontSize": "Rozmiar czcionki",
17
+ "fontFamily": "Czcionka",
18
+ "fontSize": "Rozmiar",
18
19
  "lineHeight": "Wysokość linii",
19
20
  "color": {
20
21
  "highlight": "Kolor podświetlenia",
21
22
  "text": "Kolor tekstu",
22
- "unset": "Usuń kolor",
23
- "custom": "Kolor niestandardowy"
23
+ "unset": "Wyczyść kolor",
24
+ "custom": "Własny wybór"
24
25
  }
25
26
  },
26
27
  "format": {
@@ -30,7 +31,7 @@
30
31
  "underline": "Podkreślenie",
31
32
  "sup": "Indeks górny",
32
33
  "sub": "Indeks dolny",
33
- "break": "Twarde łamanie",
34
+ "break": "Łamanie linii",
34
35
  "line": "Linia pozioma",
35
36
  "blockquote": "Cytat",
36
37
  "code": "Kod",
@@ -55,7 +56,7 @@
55
56
  "insertColBefore": "Wstaw kolumnę przed",
56
57
  "insertColAfter": "Wstaw kolumnę po",
57
58
  "deleteCol": "Usuń kolumnę",
58
- "mergeCells": "Połącz komórki",
59
+ "mergeCells": "Scal komórki",
59
60
  "splitCell": "Podziel komórkę"
60
61
  }
61
62
  },
@@ -65,38 +66,38 @@
65
66
  },
66
67
  "alignment": "Wyrównanie",
67
68
  "alignments": {
68
- "left": "Wyrównaj do lewej",
69
- "center": "Wyrównaj do środka",
70
- "right": "Wyrównaj do prawej",
71
- "justify": "Justuj"
69
+ "left": "Wyrównanie do lewej",
70
+ "center": "Wyrównanie do środka",
71
+ "right": "Wyrównanie do prawej",
72
+ "justify": "Wyjustowanie"
72
73
  },
73
74
  "list": "Lista",
74
75
  "lists": {
75
76
  "bullet": "Lista punktowana",
76
77
  "numbered": "Lista numerowana",
77
78
  "task": "Lista zadań",
78
- "indent": "Wcięcie elementu",
79
- "outdent": "Usuń wcięcie"
79
+ "indent": "Zwiększ wcięcie elementu",
80
+ "outdent": "Zmniejsz wcięcie elementu"
80
81
  },
81
82
  "dialog": {
82
83
  "apply": "Zastosuj",
83
84
  "clear": "Wyczyść",
84
85
  "close": "Zamknij",
85
86
  "image": {
86
- "title": "Dodaj/edytuj obraz",
87
+ "title": "Dodaj/zmień obraz",
87
88
  "src": "Źródło",
88
- "alt": "Tekst alternatywny",
89
+ "alt": "alt",
89
90
  "width": "Szerokość",
90
91
  "height": "Wysokość"
91
92
  },
92
93
  "link": {
93
- "title": "Dodaj/edytuj link",
94
- "href": "Adres linku",
95
- "href_error": "Nieprawidłowy adres linku",
94
+ "title": "Dodaj/zmień link",
95
+ "href": "Adres linka",
96
+ "href_error": "Nieprawidłowy adres linka",
96
97
  "target": "Otwórz w...",
97
- "target_blank": "Nowe okno",
98
- "target_self": "Bieżące okno",
99
- "rel": "Rel",
98
+ "target_blank": "Nowym oknie",
99
+ "target_self": "Bieżącym oknie",
100
+ "rel": "rel",
100
101
  "class": "Klasa CSS"
101
102
  },
102
103
  "preview": {
@@ -104,7 +105,7 @@
104
105
  },
105
106
  "source": {
106
107
  "title": "Pokaż kod źródłowy",
107
- "prettify": "Formatuj"
108
+ "prettify": "prettify"
108
109
  }
109
110
  },
110
111
  "misc": {
@@ -1,26 +1,27 @@
1
1
  {
2
+ "defaultValue": "Valor padrão",
2
3
  "content": {
3
- "placeholder": "Escreva algo aqui..."
4
+ "placeholder": "Escreva algo..."
4
5
  },
5
6
  "style": {
6
- "paragraph": "Parágrafo",
7
+ "paragraph": "parágrafo",
7
8
  "heading": "Cabeçalho",
8
9
  "headings": {
9
- "h1": "Cabeçalho nível 1",
10
- "h2": "Cabeçalho nível 2",
11
- "h3": "Cabeçalho nível 3",
12
- "h4": "Cabeçalho nível 4",
13
- "h5": "Cabeçalho nível 5",
14
- "h6": "Cabeçalho nível 6"
10
+ "h1": "Cabeçalho de nível 1",
11
+ "h2": "Cabeçalho de nível 2",
12
+ "h3": "Cabeçalho de nível 3",
13
+ "h4": "Cabeçalho de nível 4",
14
+ "h5": "Cabeçalho de nível 5",
15
+ "h6": "Cabeçalho de nível 6"
15
16
  },
16
- "fontFamily": "Família da fonte",
17
- "fontSize": "Tamanho da fonte",
17
+ "fontFamily": "Fonte",
18
+ "fontSize": "Tamanho",
18
19
  "lineHeight": "Altura da linha",
19
20
  "color": {
20
21
  "highlight": "Cor de destaque",
21
22
  "text": "Cor do texto",
22
- "unset": "Remover cor",
23
- "custom": "Cor personalizada"
23
+ "unset": "Limpar cor",
24
+ "custom": "Seleção personalizada"
24
25
  }
25
26
  },
26
27
  "format": {
@@ -65,51 +66,51 @@
65
66
  },
66
67
  "alignment": "Alinhamento",
67
68
  "alignments": {
68
- "left": "Alinhar à esquerda",
69
- "center": "Alinhar ao centro",
70
- "right": "Alinhar à direita",
71
- "justify": "Justificar"
69
+ "left": "Alinhamento à esquerda",
70
+ "center": "Alinhamento centralizado",
71
+ "right": "Alinhamento à direita",
72
+ "justify": "Justificado"
72
73
  },
73
74
  "list": "Lista",
74
75
  "lists": {
75
76
  "bullet": "Lista com marcadores",
76
77
  "numbered": "Lista numerada",
77
78
  "task": "Lista de tarefas",
78
- "indent": "Recuar item",
79
- "outdent": "Avançar item"
79
+ "indent": "Aumentar recuo do item",
80
+ "outdent": "Diminuir recuo do item"
80
81
  },
81
82
  "dialog": {
82
83
  "apply": "Aplicar",
83
84
  "clear": "Limpar",
84
85
  "close": "Fechar",
85
86
  "image": {
86
- "title": "Adicionar/editar imagem",
87
- "src": "Origem",
88
- "alt": "Texto alternativo",
87
+ "title": "Adicionar/modificar imagem",
88
+ "src": "Fonte",
89
+ "alt": "alt",
89
90
  "width": "Largura",
90
91
  "height": "Altura"
91
92
  },
92
93
  "link": {
93
- "title": "Adicionar/editar link",
94
+ "title": "Adicionar/modificar link",
94
95
  "href": "Endereço do link",
95
- "href_error": "Endereço do link inválido",
96
+ "href_error": "Endereço de link incorreto",
96
97
  "target": "Abrir em...",
97
98
  "target_blank": "Nova janela",
98
99
  "target_self": "Janela atual",
99
- "rel": "Rel",
100
+ "rel": "rel",
100
101
  "class": "Classe CSS"
101
102
  },
102
103
  "preview": {
103
- "title": "Visualizar"
104
+ "title": "Visualização"
104
105
  },
105
106
  "source": {
106
107
  "title": "Ver código fonte",
107
- "prettify": "Formatar"
108
+ "prettify": "prettify"
108
109
  }
109
110
  },
110
111
  "misc": {
111
112
  "source": "Ver código fonte",
112
- "preview": "Visualizar"
113
+ "preview": "Visualização"
113
114
  },
114
115
  "footer": {
115
116
  "words": "palavras",
@@ -1,4 +1,5 @@
1
1
  {
2
+ "defaultValue": "Значение по-умолчанию",
2
3
  "content": {
3
4
  "placeholder": "Напишите что-нибудь..."
4
5
  },
@@ -1,9 +1,10 @@
1
1
  {
2
+ "defaultValue": "Standardvärde",
2
3
  "content": {
3
- "placeholder": "Skriv något här..."
4
+ "placeholder": "Skriv något..."
4
5
  },
5
6
  "style": {
6
- "paragraph": "Stycke",
7
+ "paragraph": "stycke",
7
8
  "heading": "Rubrik",
8
9
  "headings": {
9
10
  "h1": "Rubrik nivå 1",
@@ -13,14 +14,14 @@
13
14
  "h5": "Rubrik nivå 5",
14
15
  "h6": "Rubrik nivå 6"
15
16
  },
16
- "fontFamily": "Teckensnittsfamilj",
17
- "fontSize": "Teckenstorlek",
17
+ "fontFamily": "Typsnitt",
18
+ "fontSize": "Storlek",
18
19
  "lineHeight": "Radhöjd",
19
20
  "color": {
20
21
  "highlight": "Markeringsfärg",
21
22
  "text": "Textfärg",
22
- "unset": "Ta bort färg",
23
- "custom": "Anpassad färg"
23
+ "unset": "Rensa färg",
24
+ "custom": "Eget val"
24
25
  }
25
26
  },
26
27
  "format": {
@@ -30,7 +31,7 @@
30
31
  "underline": "Understruken",
31
32
  "sup": "Upphöjt",
32
33
  "sub": "Nedsänkt",
33
- "break": "Hård radbrytning",
34
+ "break": "Radbrytning",
34
35
  "line": "Horisontell linje",
35
36
  "blockquote": "Citat",
36
37
  "code": "Kod",
@@ -42,20 +43,20 @@
42
43
  "image": "Bild",
43
44
  "tables": {
44
45
  "table": "Tabell",
45
- "insertTable": "Infoga tabell",
46
+ "insertTable": "Sätt in tabell",
46
47
  "deleteTable": "Ta bort tabell",
47
- "insertWithHeaderRow": "Infoga tabell med rubrikrad",
48
+ "insertWithHeaderRow": "Sätt in tabell med rubrik",
48
49
  "rows": "Rader",
49
50
  "row": "Rad",
50
- "insertRowBefore": "Infoga rad före",
51
- "insertRowAfter": "Infoga rad efter",
51
+ "insertRowBefore": "Sätt in rad före",
52
+ "insertRowAfter": "Sätt in rad efter",
52
53
  "deleteRow": "Ta bort rad",
53
54
  "cols": "Kolumner",
54
55
  "col": "Kolumn",
55
- "insertColBefore": "Infoga kolumn före",
56
- "insertColAfter": "Infoga kolumn efter",
56
+ "insertColBefore": "Sätt in kolumn före",
57
+ "insertColAfter": "Sätt in kolumn efter",
57
58
  "deleteCol": "Ta bort kolumn",
58
- "mergeCells": "Slå samman celler",
59
+ "mergeCells": "Sammanfoga celler",
59
60
  "splitCell": "Dela cell"
60
61
  }
61
62
  },
@@ -65,51 +66,51 @@
65
66
  },
66
67
  "alignment": "Justering",
67
68
  "alignments": {
68
- "left": "Vänsterjustera",
69
- "center": "Centrera",
70
- "right": "Högerjustera",
71
- "justify": "Justera"
69
+ "left": "Vänsterjustering",
70
+ "center": "Centrerjustering",
71
+ "right": "Högerjustering",
72
+ "justify": "Marginaljustering"
72
73
  },
73
74
  "list": "Lista",
74
75
  "lists": {
75
76
  "bullet": "Punktlista",
76
77
  "numbered": "Numrerad lista",
77
78
  "task": "Uppgiftslista",
78
- "indent": "Dra in objekt",
79
- "outdent": "Dra ut objekt"
79
+ "indent": "Öka indrag för element",
80
+ "outdent": "Minska indrag för element"
80
81
  },
81
82
  "dialog": {
82
83
  "apply": "Tillämpa",
83
84
  "clear": "Rensa",
84
85
  "close": "Stäng",
85
86
  "image": {
86
- "title": "Lägg till/redigera bild",
87
+ "title": "Lägg till/ändra bild",
87
88
  "src": "Källa",
88
- "alt": "Alternativ text",
89
+ "alt": "alt",
89
90
  "width": "Bredd",
90
91
  "height": "Höjd"
91
92
  },
92
93
  "link": {
93
- "title": "Lägg till/redigera länk",
94
+ "title": "Lägg till/ändra länk",
94
95
  "href": "Länkadress",
95
- "href_error": "Ogiltig länkadress",
96
+ "href_error": "Felaktig länkadress",
96
97
  "target": "Öppna i...",
97
98
  "target_blank": "Nytt fönster",
98
99
  "target_self": "Aktuellt fönster",
99
- "rel": "Rel",
100
+ "rel": "rel",
100
101
  "class": "CSS-klass"
101
102
  },
102
103
  "preview": {
103
- "title": "Förhandsvisning"
104
+ "title": "Förhandsgranskning"
104
105
  },
105
106
  "source": {
106
107
  "title": "Visa källkod",
107
- "prettify": "Formatera"
108
+ "prettify": "prettify"
108
109
  }
109
110
  },
110
111
  "misc": {
111
112
  "source": "Visa källkod",
112
- "preview": "Förhandsvisning"
113
+ "preview": "Förhandsgranskning"
113
114
  },
114
115
  "footer": {
115
116
  "words": "ord",
@@ -1,4 +1,5 @@
1
1
  {
2
+ "defaultValue": "Значення за замовчуванням",
2
3
  "content": {
3
4
  "placeholder": "Напишіть щонебудь..."
4
5
  },