tiptapify 0.0.9 → 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 (52) hide show
  1. package/README.md +1 -1
  2. package/dist/tiptapify.css +1 -1
  3. package/dist/tiptapify.mjs +21133 -19765
  4. package/dist/tiptapify.umd.js +37 -38
  5. package/package.json +43 -43
  6. package/src/components/Tiptapify.vue +2 -2
  7. package/src/components/Toolbar/GroupBtn.vue +2 -6
  8. package/src/components/Toolbar/GroupDropdown.vue +4 -8
  9. package/src/components/Toolbar/Index.vue +5 -4
  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/UI/Dialog.vue +141 -0
  14. package/src/components/editorExtensions.ts +1 -1
  15. package/src/{components/Toolbar/items/actions.ts → composables/Toolbar/useActionsItems.ts} +6 -3
  16. package/src/{components/Toolbar/items/alignment.ts → composables/Toolbar/useAlignmentItems.ts} +12 -9
  17. package/src/{components/Toolbar/items/formatExtra.ts → composables/Toolbar/useFormatExtraItems.ts} +10 -7
  18. package/src/{components/Toolbar/items/format.ts → composables/Toolbar/useFormatItems.ts} +20 -17
  19. package/src/{components/Toolbar/items/list.ts → composables/Toolbar/useListItems.ts} +14 -11
  20. package/src/{components/Toolbar/items/media.ts → composables/Toolbar/useMediaItems.ts} +22 -20
  21. package/src/{components/Toolbar/items/misc.ts → composables/Toolbar/useMiscItems.ts} +9 -6
  22. package/src/composables/Toolbar/useStyleItems.ts +231 -0
  23. package/src/{components/Toolbar/fonts.ts → constants/style.ts} +21 -0
  24. package/src/extensions/components/FontFamily.vue +82 -0
  25. package/src/extensions/components/FontSize.vue +83 -0
  26. package/src/extensions/components/ImageDialog.vue +17 -29
  27. package/src/extensions/components/LineHeight.vue +82 -0
  28. package/src/extensions/components/LinkDialog.vue +75 -44
  29. package/src/extensions/components/PreviewDialog.vue +8 -16
  30. package/src/extensions/components/ShowSourceDialog.vue +17 -18
  31. package/src/extensions/components/StyleColor.vue +68 -15
  32. package/src/extensions/components/TableBuilder.vue +3 -6
  33. package/src/extensions/link.ts +8 -0
  34. package/src/extensions/slash-commands.ts +1 -1
  35. package/src/i18n/index.ts +0 -1
  36. package/src/i18n/locales/ch.json +119 -0
  37. package/src/i18n/locales/cz.json +119 -0
  38. package/src/i18n/locales/de.json +83 -76
  39. package/src/i18n/locales/en.json +82 -75
  40. package/src/i18n/locales/es.json +80 -73
  41. package/src/i18n/locales/fr.json +81 -73
  42. package/src/i18n/locales/it.json +80 -73
  43. package/src/i18n/locales/la.json +119 -0
  44. package/src/i18n/locales/lt.json +119 -0
  45. package/src/i18n/locales/nl.json +119 -0
  46. package/src/i18n/locales/pl.json +80 -74
  47. package/src/i18n/locales/pt.json +119 -0
  48. package/src/i18n/locales/ru.json +78 -71
  49. package/src/i18n/locales/se.json +119 -0
  50. package/src/i18n/locales/ua.json +79 -72
  51. package/src/components/Toolbar/items/style.ts +0 -187
  52. /package/src/{components → extensions/components}/CodeBlockComponent.vue +0 -0
@@ -1,109 +1,116 @@
1
1
  {
2
+ "defaultValue": "Valore predefinito",
2
3
  "content": {
3
- "placeholder": "scrivi qualcosa qui..."
4
+ "placeholder": "Scrivi qualcosa..."
4
5
  },
5
6
  "style": {
6
7
  "paragraph": "paragrafo",
7
- "heading": "intestazione",
8
+ "heading": "Intestazione",
8
9
  "headings": {
9
- "h1": "intestazione livello 1",
10
- "h2": "intestazione livello 2",
11
- "h3": "intestazione livello 3",
12
- "h4": "intestazione livello 4",
13
- "h5": "intestazione livello 5",
14
- "h6": "intestazione livello 6"
10
+ "h1": "Intestazione di livello 1",
11
+ "h2": "Intestazione di livello 2",
12
+ "h3": "Intestazione di livello 3",
13
+ "h4": "Intestazione di livello 4",
14
+ "h5": "Intestazione di livello 5",
15
+ "h6": "Intestazione di livello 6"
15
16
  },
16
- "fontFamily": "famiglia carattere",
17
- "fontSize": "dimensione carattere",
18
- "lineHeight": "altezza riga",
17
+ "fontFamily": "Carattere",
18
+ "fontSize": "Dimensione",
19
+ "lineHeight": "Altezza riga",
19
20
  "color": {
20
- "highlight": "colore evidenziazione",
21
- "text": "colore testo",
22
- "unset": "rimuovi colore",
23
- "custom": "colore personalizzato"
21
+ "highlight": "Colore evidenziazione",
22
+ "text": "Colore testo",
23
+ "unset": "Cancella colore",
24
+ "custom": "Selezione personalizzata"
24
25
  }
25
26
  },
26
27
  "format": {
27
- "bold": "grassetto",
28
- "italic": "corsivo",
29
- "strike": "barrato",
30
- "underline": "sottolineato",
31
- "sup": "apice",
32
- "sub": "pedice",
33
- "break": "interruzione riga forzata",
34
- "line": "riga orizzontale",
35
- "blockquote": "citazione",
36
- "code": "codice",
37
- "codeblock": "blocco codice",
38
- "formatClear": "cancella formattazione"
28
+ "bold": "Grassetto",
29
+ "italic": "Corsivo",
30
+ "strike": "Barrato",
31
+ "underline": "Sottolineato",
32
+ "sup": "Apice",
33
+ "sub": "Pedice",
34
+ "break": "Interruzione riga",
35
+ "line": "Linea orizzontale",
36
+ "blockquote": "Citazione",
37
+ "code": "Codice",
38
+ "codeblock": "Blocco codice",
39
+ "formatClear": "Cancella formattazione"
39
40
  },
40
41
  "media": {
41
- "link": "collegamento esterno",
42
- "image": "immagine",
42
+ "link": "Collegamento esterno",
43
+ "image": "Immagine",
43
44
  "tables": {
44
- "table": "tabella",
45
- "insertTable": "inserisci tabella",
46
- "deleteTable": "elimina tabella",
47
- "insertWithHeaderRow": "inserisci tabella con riga intestazione",
48
- "rows": "righe",
49
- "row": "riga",
50
- "insertRowBefore": "inserisci riga prima",
51
- "insertRowAfter": "inserisci riga dopo",
52
- "deleteRow": "elimina riga",
53
- "cols": "colonne",
54
- "col": "colonna",
55
- "insertColBefore": "inserisci colonna prima",
56
- "insertColAfter": "inserisci colonna dopo",
57
- "deleteCol": "elimina colonna",
58
- "mergeCells": "unisci celle",
59
- "splitCell": "dividi cella"
45
+ "table": "Tabella",
46
+ "insertTable": "Inserisci tabella",
47
+ "deleteTable": "Elimina tabella",
48
+ "insertWithHeaderRow": "Inserisci tabella con intestazione",
49
+ "rows": "Righe",
50
+ "row": "Riga",
51
+ "insertRowBefore": "Inserisci riga prima",
52
+ "insertRowAfter": "Inserisci riga dopo",
53
+ "deleteRow": "Elimina riga",
54
+ "cols": "Colonne",
55
+ "col": "Colonna",
56
+ "insertColBefore": "Inserisci colonna prima",
57
+ "insertColAfter": "Inserisci colonna dopo",
58
+ "deleteCol": "Elimina colonna",
59
+ "mergeCells": "Unisci celle",
60
+ "splitCell": "Dividi cella"
60
61
  }
61
62
  },
62
63
  "action": {
63
- "undo": "annulla",
64
- "redo": "ripeti"
64
+ "undo": "Annulla",
65
+ "redo": "Ripeti"
65
66
  },
66
- "alignment": "allineamento",
67
+ "alignment": "Allineamento",
67
68
  "alignments": {
68
- "left": "allinea a sinistra",
69
- "center": "allinea al centro",
70
- "right": "allinea a destra",
71
- "justify": "giustifica"
69
+ "left": "Allineamento a sinistra",
70
+ "center": "Allineamento centrato",
71
+ "right": "Allineamento a destra",
72
+ "justify": "Giustificato"
72
73
  },
73
- "list": "elenco",
74
+ "list": "Lista",
74
75
  "lists": {
75
- "bullet": "elenco non ordinato",
76
- "numbered": "elenco ordinato",
77
- "task": "elenco attività",
78
- "indent": "rientra elemento elenco",
79
- "outdent": "riduci rientro elemento elenco"
76
+ "bullet": "Lista puntata",
77
+ "numbered": "Lista numerata",
78
+ "task": "Lista attività",
79
+ "indent": "Aumenta rientro elemento",
80
+ "outdent": "Diminuisci rientro elemento"
80
81
  },
81
82
  "dialog": {
82
- "apply": "applica",
83
- "clear": "cancella",
84
- "close": "chiudi",
83
+ "apply": "Applica",
84
+ "clear": "Cancella",
85
+ "close": "Chiudi",
85
86
  "image": {
86
- "title": "aggiungi/modifica immagine",
87
- "src": "sorgente",
87
+ "title": "Aggiungi/modifica immagine",
88
+ "src": "Origine",
88
89
  "alt": "alt",
89
- "width": "larghezza",
90
- "height": "altezza"
90
+ "width": "Larghezza",
91
+ "height": "Altezza"
91
92
  },
92
93
  "link": {
93
- "title": "aggiungi/modifica collegamento",
94
- "href": "indirizzo collegamento",
95
- "target": "apri in nuova finestra",
94
+ "title": "Aggiungi/modifica collegamento",
95
+ "href": "Indirizzo collegamento",
96
+ "href_error": "Indirizzo collegamento incorretto",
97
+ "target": "Apri in...",
98
+ "target_blank": "Nuova finestra",
99
+ "target_self": "Finestra corrente",
96
100
  "rel": "rel",
97
- "class": "classe CSS"
101
+ "class": "Classe CSS"
102
+ },
103
+ "preview": {
104
+ "title": "Anteprima"
98
105
  },
99
106
  "source": {
100
- "title": "visualizza codice sorgente",
101
- "prettify": "abbellisci"
107
+ "title": "Visualizza codice sorgente",
108
+ "prettify": "prettify"
102
109
  }
103
110
  },
104
111
  "misc": {
105
- "source": "visualizza codice sorgente",
106
- "preview": "anteprima"
112
+ "source": "Visualizza codice sorgente",
113
+ "preview": "Anteprima"
107
114
  },
108
115
  "footer": {
109
116
  "words": "parole",
@@ -0,0 +1,119 @@
1
+ {
2
+ "defaultValue": "Valor per defectum",
3
+ "content": {
4
+ "placeholder": "Scribe aliquid..."
5
+ },
6
+ "style": {
7
+ "paragraph": "paragraphus",
8
+ "heading": "Titulus",
9
+ "headings": {
10
+ "h1": "Titulus primi gradus",
11
+ "h2": "Titulus secundi gradus",
12
+ "h3": "Titulus tertii gradus",
13
+ "h4": "Titulus quarti gradus",
14
+ "h5": "Titulus quinti gradus",
15
+ "h6": "Titulus sexti gradus"
16
+ },
17
+ "fontFamily": "Genus litterarum",
18
+ "fontSize": "Magnitudo",
19
+ "lineHeight": "Altitudo lineae",
20
+ "color": {
21
+ "highlight": "Color illuminationis",
22
+ "text": "Color textus",
23
+ "unset": "Colorem delere",
24
+ "custom": "Selectio propria"
25
+ }
26
+ },
27
+ "format": {
28
+ "bold": "Crassum",
29
+ "italic": "Obliquum",
30
+ "strike": "Deletum",
31
+ "underline": "Sublineatum",
32
+ "sup": "Superscriptum",
33
+ "sub": "Subscriptum",
34
+ "break": "Fractio lineae",
35
+ "line": "Linea horizontalis",
36
+ "blockquote": "Citatio",
37
+ "code": "Codex",
38
+ "codeblock": "Blocum codicis",
39
+ "formatClear": "Formam delere"
40
+ },
41
+ "media": {
42
+ "link": "Nexus externus",
43
+ "image": "Imago",
44
+ "tables": {
45
+ "table": "Tabula",
46
+ "insertTable": "Tabulam inserere",
47
+ "deleteTable": "Tabulam delere",
48
+ "insertWithHeaderRow": "Tabulam cum titulo inserere",
49
+ "rows": "Ordines",
50
+ "row": "Ordo",
51
+ "insertRowBefore": "Ordinem ante inserere",
52
+ "insertRowAfter": "Ordinem post inserere",
53
+ "deleteRow": "Ordinem delere",
54
+ "cols": "Columnae",
55
+ "col": "Columna",
56
+ "insertColBefore": "Columnam ante inserere",
57
+ "insertColAfter": "Columnam post inserere",
58
+ "deleteCol": "Columnam delere",
59
+ "mergeCells": "Cellulas iungere",
60
+ "splitCell": "Cellulam dividere"
61
+ }
62
+ },
63
+ "action": {
64
+ "undo": "Infectum reddere",
65
+ "redo": "Iterare"
66
+ },
67
+ "alignment": "Ordinatio",
68
+ "alignments": {
69
+ "left": "Ordinatio sinistra",
70
+ "center": "Ordinatio media",
71
+ "right": "Ordinatio dextra",
72
+ "justify": "Ordinatio iustificata"
73
+ },
74
+ "list": "Index",
75
+ "lists": {
76
+ "bullet": "Index punctatus",
77
+ "numbered": "Index numeratus",
78
+ "task": "Index officiorum",
79
+ "indent": "Recessum elementi augere",
80
+ "outdent": "Recessum elementi minuere"
81
+ },
82
+ "dialog": {
83
+ "apply": "Applicare",
84
+ "clear": "Purgare",
85
+ "close": "Claudere",
86
+ "image": {
87
+ "title": "Imaginem addere/mutare",
88
+ "src": "Fons",
89
+ "alt": "alt",
90
+ "width": "Latitudo",
91
+ "height": "Altitudo"
92
+ },
93
+ "link": {
94
+ "title": "Nexum addere/mutare",
95
+ "href": "Adressum nexi",
96
+ "href_error": "Adressum nexi incorrectum",
97
+ "target": "Aperire in...",
98
+ "target_blank": "Nova fenestra",
99
+ "target_self": "Fenestra praesens",
100
+ "rel": "rel",
101
+ "class": "Classis CSS"
102
+ },
103
+ "preview": {
104
+ "title": "Praevisio"
105
+ },
106
+ "source": {
107
+ "title": "Codicem fontem videre",
108
+ "prettify": "prettify"
109
+ }
110
+ },
111
+ "misc": {
112
+ "source": "Codicem fontem videre",
113
+ "preview": "Praevisio"
114
+ },
115
+ "footer": {
116
+ "words": "verba",
117
+ "chars": "characteres"
118
+ }
119
+ }
@@ -0,0 +1,119 @@
1
+ {
2
+ "defaultValue": "Numatytoji reikšmė",
3
+ "content": {
4
+ "placeholder": "Parašykite ką nors..."
5
+ },
6
+ "style": {
7
+ "paragraph": "pastraipa",
8
+ "heading": "Antraštė",
9
+ "headings": {
10
+ "h1": "1 lygio antraštė",
11
+ "h2": "2 lygio antraštė",
12
+ "h3": "3 lygio antraštė",
13
+ "h4": "4 lygio antraštė",
14
+ "h5": "5 lygio antraštė",
15
+ "h6": "6 lygio antraštė"
16
+ },
17
+ "fontFamily": "Šriftas",
18
+ "fontSize": "Dydis",
19
+ "lineHeight": "Eilutės aukštis",
20
+ "color": {
21
+ "highlight": "Paryškinimo spalva",
22
+ "text": "Teksto spalva",
23
+ "unset": "Išvalyti spalvą",
24
+ "custom": "Savo pasirinkimas"
25
+ }
26
+ },
27
+ "format": {
28
+ "bold": "Paryškintas",
29
+ "italic": "Kursyvas",
30
+ "strike": "Perbrauktas",
31
+ "underline": "Pabrauktas",
32
+ "sup": "Viršutinis indeksas",
33
+ "sub": "Apatinis indeksas",
34
+ "break": "Eilutės lūžis",
35
+ "line": "Horizontali linija",
36
+ "blockquote": "Citata",
37
+ "code": "Kodas",
38
+ "codeblock": "Kodo blokas",
39
+ "formatClear": "Išvalyti formatavimą"
40
+ },
41
+ "media": {
42
+ "link": "Išorinė nuoroda",
43
+ "image": "Paveikslas",
44
+ "tables": {
45
+ "table": "Lentelė",
46
+ "insertTable": "Įterpti lentelę",
47
+ "deleteTable": "Ištrinti lentelę",
48
+ "insertWithHeaderRow": "Įterpti lentelę su antrašte",
49
+ "rows": "Eilutės",
50
+ "row": "Eilutė",
51
+ "insertRowBefore": "Įterpti eilutę prieš",
52
+ "insertRowAfter": "Įterpti eilutę po",
53
+ "deleteRow": "Ištrinti eilutę",
54
+ "cols": "Stulpeliai",
55
+ "col": "Stulpelis",
56
+ "insertColBefore": "Įterpti stulpelį prieš",
57
+ "insertColAfter": "Įterpti stulpelį po",
58
+ "deleteCol": "Ištrinti stulpelį",
59
+ "mergeCells": "Sujungti ląsteles",
60
+ "splitCell": "Padalinti ląstelę"
61
+ }
62
+ },
63
+ "action": {
64
+ "undo": "Atšaukti",
65
+ "redo": "Pakartoti"
66
+ },
67
+ "alignment": "Lygiavimas",
68
+ "alignments": {
69
+ "left": "Lygiavimas kairėje",
70
+ "center": "Lygiavimas centre",
71
+ "right": "Lygiavimas dešinėje",
72
+ "justify": "Lygiavimas pločiu"
73
+ },
74
+ "list": "Sąrašas",
75
+ "lists": {
76
+ "bullet": "Ženklelių sąrašas",
77
+ "numbered": "Numeruotas sąrašas",
78
+ "task": "Užduočių sąrašas",
79
+ "indent": "Padidinti sąrašo elemento įtrauką",
80
+ "outdent": "Sumažinti sąrašo elemento įtrauką"
81
+ },
82
+ "dialog": {
83
+ "apply": "Taikyti",
84
+ "clear": "Išvalyti",
85
+ "close": "Uždaryti",
86
+ "image": {
87
+ "title": "Pridėti/keisti paveikslą",
88
+ "src": "Šaltinis",
89
+ "alt": "alt",
90
+ "width": "Plotis",
91
+ "height": "Aukštis"
92
+ },
93
+ "link": {
94
+ "title": "Pridėti/keisti nuorodą",
95
+ "href": "Nuorodos adresas",
96
+ "href_error": "Neteisingas nuorodos adresas",
97
+ "target": "Atidaryti...",
98
+ "target_blank": "Naujame lange",
99
+ "target_self": "Dabartiniame lange",
100
+ "rel": "rel",
101
+ "class": "CSS klasė"
102
+ },
103
+ "preview": {
104
+ "title": "Peržiūra"
105
+ },
106
+ "source": {
107
+ "title": "Žiūrėti išeities kodą",
108
+ "prettify": "prettify"
109
+ }
110
+ },
111
+ "misc": {
112
+ "source": "Žiūrėti išeities kodą",
113
+ "preview": "Peržiūra"
114
+ },
115
+ "footer": {
116
+ "words": "žodžiai",
117
+ "chars": "simboliai"
118
+ }
119
+ }
@@ -0,0 +1,119 @@
1
+ {
2
+ "defaultValue": "Standaardwaarde",
3
+ "content": {
4
+ "placeholder": "Schrijf iets..."
5
+ },
6
+ "style": {
7
+ "paragraph": "paragraaf",
8
+ "heading": "Kop",
9
+ "headings": {
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"
16
+ },
17
+ "fontFamily": "Lettertype",
18
+ "fontSize": "Grootte",
19
+ "lineHeight": "Regelhoogte",
20
+ "color": {
21
+ "highlight": "Markeringskleur",
22
+ "text": "Tekstkleur",
23
+ "unset": "Kleur wissen",
24
+ "custom": "Eigen keuze"
25
+ }
26
+ },
27
+ "format": {
28
+ "bold": "Vet",
29
+ "italic": "Cursief",
30
+ "strike": "Doorhalen",
31
+ "underline": "Onderstrepen",
32
+ "sup": "Superscript",
33
+ "sub": "Subscript",
34
+ "break": "Regeleinde",
35
+ "line": "Horizontale lijn",
36
+ "blockquote": "Citaat",
37
+ "code": "Code",
38
+ "codeblock": "Codeblok",
39
+ "formatClear": "Opmaak wissen"
40
+ },
41
+ "media": {
42
+ "link": "Externe link",
43
+ "image": "Afbeelding",
44
+ "tables": {
45
+ "table": "Tabel",
46
+ "insertTable": "Tabel invoegen",
47
+ "deleteTable": "Tabel verwijderen",
48
+ "insertWithHeaderRow": "Tabel met kop invoegen",
49
+ "rows": "Rijen",
50
+ "row": "Rij",
51
+ "insertRowBefore": "Rij ervoor invoegen",
52
+ "insertRowAfter": "Rij erna invoegen",
53
+ "deleteRow": "Rij verwijderen",
54
+ "cols": "Kolommen",
55
+ "col": "Kolom",
56
+ "insertColBefore": "Kolom ervoor invoegen",
57
+ "insertColAfter": "Kolom erna invoegen",
58
+ "deleteCol": "Kolom verwijderen",
59
+ "mergeCells": "Cellen samenvoegen",
60
+ "splitCell": "Cel splitsen"
61
+ }
62
+ },
63
+ "action": {
64
+ "undo": "Ongedaan maken",
65
+ "redo": "Opnieuw"
66
+ },
67
+ "alignment": "Uitlijning",
68
+ "alignments": {
69
+ "left": "Links uitlijnen",
70
+ "center": "Centreren",
71
+ "right": "Rechts uitlijnen",
72
+ "justify": "Uitvullen"
73
+ },
74
+ "list": "Lijst",
75
+ "lists": {
76
+ "bullet": "Ongenummerde lijst",
77
+ "numbered": "Genummerde lijst",
78
+ "task": "Takenlijst",
79
+ "indent": "Inspringing verhogen",
80
+ "outdent": "Inspringing verlagen"
81
+ },
82
+ "dialog": {
83
+ "apply": "Toepassen",
84
+ "clear": "Wissen",
85
+ "close": "Sluiten",
86
+ "image": {
87
+ "title": "Afbeelding toevoegen/wijzigen",
88
+ "src": "Bron",
89
+ "alt": "alt",
90
+ "width": "Breedte",
91
+ "height": "Hoogte"
92
+ },
93
+ "link": {
94
+ "title": "Link toevoegen/wijzigen",
95
+ "href": "Linkadres",
96
+ "href_error": "Ongeldig linkadres",
97
+ "target": "Openen in...",
98
+ "target_blank": "Nieuw venster",
99
+ "target_self": "Huidig venster",
100
+ "rel": "rel",
101
+ "class": "CSS klasse"
102
+ },
103
+ "preview": {
104
+ "title": "Voorvertoning"
105
+ },
106
+ "source": {
107
+ "title": "Broncode bekijken",
108
+ "prettify": "prettify"
109
+ }
110
+ },
111
+ "misc": {
112
+ "source": "Broncode bekijken",
113
+ "preview": "Voorvertoning"
114
+ },
115
+ "footer": {
116
+ "words": "woorden",
117
+ "chars": "tekens"
118
+ }
119
+ }