@ckeditor/ckeditor5-list 32.0.0 → 33.0.0
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/build/list.js +2 -2
- package/build/list.js.map +1 -0
- package/build/translations/cs.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/ckeditor5-metadata.json +1 -1
- package/lang/translations/cs.po +4 -4
- package/lang/translations/el.po +27 -27
- package/lang/translations/es.po +22 -22
- package/lang/translations/it.po +4 -4
- package/lang/translations/sr-latn.po +4 -4
- package/lang/translations/sr.po +4 -4
- package/package.json +24 -24
- package/src/index.js +6 -6
- package/src/{converters.js → list/converters.js} +7 -10
- package/src/{indentcommand.js → list/indentcommand.js} +1 -1
- package/src/{listcommand.js → list/listcommand.js} +1 -1
- package/src/{listediting.js → list/listediting.js} +1 -1
- package/src/{listui.js → list/listui.js} +3 -3
- package/src/{utils.js → list/utils.js} +35 -4
- package/src/list.js +4 -4
- package/src/{listpropertiesediting.js → listproperties/listpropertiesediting.js} +5 -4
- package/src/{listpropertiesui.js → listproperties/listpropertiesui.js} +15 -16
- package/src/{listreversedcommand.js → listproperties/listreversedcommand.js} +2 -2
- package/src/{liststartcommand.js → listproperties/liststartcommand.js} +2 -2
- package/src/{liststylecommand.js → listproperties/liststylecommand.js} +35 -3
- package/src/{ui → listproperties/ui}/collapsibleview.js +1 -1
- package/src/listproperties/ui/inputnumberview.js +0 -0
- package/src/{ui → listproperties/ui}/listpropertiesview.js +1 -1
- package/src/listproperties.js +8 -8
- package/src/{checktodolistcommand.js → todolist/checktodolistcommand.js} +2 -2
- package/src/{todolistconverters.js → todolist/todolistconverters.js} +8 -4
- package/src/{todolistediting.js → todolist/todolistediting.js} +4 -4
- package/src/{todolistui.js → todolist/todolistui.js} +3 -3
- package/src/todolist.js +4 -4
package/build/translations/cs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e){const s=e.cs=e.cs||{};s.dictionary=Object.assign(s.dictionary||{},{"Bulleted List":"Odrážky","Bulleted list styles toolbar":"Panel seznamu s odrážkami",Circle:"Kruh",Decimal:"Čísla","Decimal with leading zero":"Čísla s nulou na začátku",Disc:"Plný kruh","List properties":"","Lower-latin":"Malá písmena","Lower–roman":"Malé římské čísla","Numbered List":"Číslování","Numbered list styles toolbar":"Panel se styly číslovaného seznamu","Reversed order":"",Square:"Čtverec","Start at":"","Start index must be greater than 0.":"","To-do List":"Seznam úkolů","Toggle the circle list style":"Přepnout na seznam s kruhovým označením","Toggle the decimal list style":"Přepnout na číselný seznam","Toggle the decimal with leading zero list style":"Přepnout na číselný seznam s nulou na začátku","Toggle the disc list style":"Přepnout na seznam s označením plného kruhu","Toggle the lower–latin list style":"Přepnout na seznam s malými písmeny","Toggle the lower–roman list style":"Přepnout na seznam s malými římskými čísly","Toggle the square list style":"Přepnout na seznam se čtvercovým označením","Toggle the upper–latin list style":"Přepnout na seznam s velkými písmeny","Toggle the upper–roman list style":"Přepnout na seznam s velkými římskými čísly","Upper-latin":"Velká písmena","Upper-roman":"Velké římské čísla"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(e){const s=e.cs=e.cs||{};s.dictionary=Object.assign(s.dictionary||{},{"Bulleted List":"Odrážky","Bulleted list styles toolbar":"Panel seznamu s odrážkami",Circle:"Kruh",Decimal:"Čísla","Decimal with leading zero":"Čísla s nulou na začátku",Disc:"Plný kruh","List properties":"Vlastnosti seznamu","Lower-latin":"Malá písmena","Lower–roman":"Malé římské čísla","Numbered List":"Číslování","Numbered list styles toolbar":"Panel se styly číslovaného seznamu","Reversed order":"Obrácené pořadí",Square:"Čtverec","Start at":"Začít na","Start index must be greater than 0.":"Počátek musí být větší jak 0.","To-do List":"Seznam úkolů","Toggle the circle list style":"Přepnout na seznam s kruhovým označením","Toggle the decimal list style":"Přepnout na číselný seznam","Toggle the decimal with leading zero list style":"Přepnout na číselný seznam s nulou na začátku","Toggle the disc list style":"Přepnout na seznam s označením plného kruhu","Toggle the lower–latin list style":"Přepnout na seznam s malými písmeny","Toggle the lower–roman list style":"Přepnout na seznam s malými římskými čísly","Toggle the square list style":"Přepnout na seznam se čtvercovým označením","Toggle the upper–latin list style":"Přepnout na seznam s velkými písmeny","Toggle the upper–roman list style":"Přepnout na seznam s velkými římskými čísly","Upper-latin":"Velká písmena","Upper-roman":"Velké římské čísla"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/el.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e){const t=e.el=e.el||{};t.dictionary=Object.assign(t.dictionary||{},{"Bulleted List":"Λίστα
|
|
1
|
+
!function(e){const t=e.el=e.el||{};t.dictionary=Object.assign(t.dictionary||{},{"Bulleted List":"Λίστα με κουκκίδες","Bulleted list styles toolbar":"Γραμμή εργαλείων στυλ λιστών με κουκίδες",Circle:"Κύκλος",Decimal:"Δεκαδικό","Decimal with leading zero":"Δεκαδικό με μηδενικά",Disc:"Δίσκος","List properties":"Ιδιότητες λίστας","Lower-latin":"Μικρά λατινικά","Lower–roman":"Μικρά ρωμαϊκά","Numbered List":"Λίστα με αριθμούς","Numbered list styles toolbar":"Γραμμή εργαλείων στυλ λιστών με αριθμούς","Reversed order":"Αντίστροφη σειρά",Square:"Τετράγωνο","Start at":"Εναρξη από","Start index must be greater than 0.":"Ο αριθμός έναρξης πρέπει να είναι μεγαλύτερος από 0.","To-do List":"Λίστα προγραμματισμένων ενεργειών","Toggle the circle list style":"Εναλλαγή του στυλ λίστας με κύκλο","Toggle the decimal list style":"Εναλλαγή του στυλ λίστας με δεκαδικά","Toggle the decimal with leading zero list style":"Εναλλαγή του στυλ λίστας δεκαδικών με μηδενικά","Toggle the disc list style":"Εναλλαγή του στυλ λίστας με δίσκο","Toggle the lower–latin list style":"Εναλλαγή του στυλ λίστας με μικρά λατινικά","Toggle the lower–roman list style":"Εναλλαγή του στυλ λίστας με μικρά ρωμαϊκά","Toggle the square list style":"Εναλαγή του στυλ λίστας με τετράγωνο","Toggle the upper–latin list style":"Εναλλαγή του στυλ λίστας με κεφαλαία λατινικά","Toggle the upper–roman list style":"Εναλλαγή του στυλ λίστας με κεφαλαία ρωμαϊκά","Upper-latin":"Κεφαλαία λατινικά","Upper-roman":"Κεφαλαία ρωμαϊκά"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/es.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e){const
|
|
1
|
+
!function(e){const a=e.es=e.es||{};a.dictionary=Object.assign(a.dictionary||{},{"Bulleted List":"Lista con viñetas","Bulleted list styles toolbar":"Estilos de lista con viñetas",Circle:"Círculo",Decimal:"Decimal","Decimal with leading zero":"Decimal con cero",Disc:"Disco","List properties":"Propiedades de la lista","Lower-latin":"Latinos minúsculas","Lower–roman":"Romanos minúsculas","Numbered List":"Lista numerada","Numbered list styles toolbar":"Estilos de lista numerada","Reversed order":"Orden inverso",Square:"Cuadrado","Start at":"Empezar en","Start index must be greater than 0.":"El número de inicio debe ser mayor que 0.","To-do List":"Lista de tareas","Toggle the circle list style":"Cambiar estilo de viñeta a círculo","Toggle the decimal list style":"Cambiar estilo de lista a decimal","Toggle the decimal with leading zero list style":"Cambiar estilo de lista decimal empezando con cero","Toggle the disc list style":"Cambiar estilo de viñeta a disco","Toggle the lower–latin list style":"Cambiar estilo de lista a números latinos en minúsculas","Toggle the lower–roman list style":"Cambiar estilo de lista a números romanos en minúsculas","Toggle the square list style":"Cambiar estilo de viñeta a cuadrado","Toggle the upper–latin list style":"Cambiar estilo de lista a números latinos en mayúsculas","Toggle the upper–roman list style":"Cambiar estilo de lista a números roanos en mayúsculas","Upper-latin":"Latinos minúsculas","Upper-roman":"Romanos mayúscula"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/it.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e){const i=e.it=e.it||{};i.dictionary=Object.assign(i.dictionary||{},{"Bulleted List":"Elenco puntato","Bulleted list styles toolbar":"Barra degli strumenti con gli stili degli elenchi puntati",Circle:"Cerchio",Decimal:"Numero","Decimal with leading zero":"Numero con zero anteposto",Disc:"Disco","List properties":"","Lower-latin":"Lettera minuscola","Lower–roman":"Numero romano minuscolo","Numbered List":"Elenco numerato","Numbered list styles toolbar":"Barra degli strumenti con gli stili degli elenchi numerati","Reversed order":"",Square:"Quadrato","Start at":"","Start index must be greater than 0.":"","To-do List":"Elenco cose da fare","Toggle the circle list style":"Attiva/disattiva lo stile degli elenchi con cerchi","Toggle the decimal list style":"Attiva/disattiva lo stile degli elenchi con numeri","Toggle the decimal with leading zero list style":"Attiva/disattiva lo stile degli elenchi con numeri con zero anteposto","Toggle the disc list style":"Attiva/disattiva lo stile degli elenchi con dischi","Toggle the lower–latin list style":"Attiva/disattiva lo stile degli elenchi con lettere minuscole","Toggle the lower–roman list style":"Attiva/disattiva lo stile degli elenchi con numeri romani minuscoli","Toggle the square list style":"Attiva/disattiva lo stile degli elenchi con quadrati","Toggle the upper–latin list style":"Attiva/disattiva lo stile degli elenchi con lettere maiuscole","Toggle the upper–roman list style":"Attiva/disattiva lo stile degli elenchi con numeri romani maiuscoli","Upper-latin":"Lettera maiuscola","Upper-roman":"Numero romano maiuscolo"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(e){const i=e.it=e.it||{};i.dictionary=Object.assign(i.dictionary||{},{"Bulleted List":"Elenco puntato","Bulleted list styles toolbar":"Barra degli strumenti con gli stili degli elenchi puntati",Circle:"Cerchio",Decimal:"Numero","Decimal with leading zero":"Numero con zero anteposto",Disc:"Disco","List properties":"Proprietà elenco","Lower-latin":"Lettera minuscola","Lower–roman":"Numero romano minuscolo","Numbered List":"Elenco numerato","Numbered list styles toolbar":"Barra degli strumenti con gli stili degli elenchi numerati","Reversed order":"Ordine inverso",Square:"Quadrato","Start at":"Inizia da","Start index must be greater than 0.":"L'indice iniziale deve essere maggiore di 0.","To-do List":"Elenco cose da fare","Toggle the circle list style":"Attiva/disattiva lo stile degli elenchi con cerchi","Toggle the decimal list style":"Attiva/disattiva lo stile degli elenchi con numeri","Toggle the decimal with leading zero list style":"Attiva/disattiva lo stile degli elenchi con numeri con zero anteposto","Toggle the disc list style":"Attiva/disattiva lo stile degli elenchi con dischi","Toggle the lower–latin list style":"Attiva/disattiva lo stile degli elenchi con lettere minuscole","Toggle the lower–roman list style":"Attiva/disattiva lo stile degli elenchi con numeri romani minuscoli","Toggle the square list style":"Attiva/disattiva lo stile degli elenchi con quadrati","Toggle the upper–latin list style":"Attiva/disattiva lo stile degli elenchi con lettere maiuscole","Toggle the upper–roman list style":"Attiva/disattiva lo stile degli elenchi con numeri romani maiuscoli","Upper-latin":"Lettera maiuscola","Upper-roman":"Numero romano maiuscolo"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(i){const e=i["sr-latn"]=i["sr-latn"]||{};e.dictionary=Object.assign(e.dictionary||{},{"Bulleted List":"Nabrajane liste","Bulleted list styles toolbar":"Traka sa alatkama za nabrajane liste",Circle:"Krug",Decimal:"Decimala","Decimal with leading zero":"Decimalni broj sa nulom na početku",Disc:"Disk","List properties":"","Lower-latin":"Donji - latinski","Lower–roman":"Donji - rimski","Numbered List":"Lista sa brojevima","Numbered list styles toolbar":"Traka sa altakama za liste sa brojevima","Reversed order":"",Square:"Kvadrat","Start at":"","Start index must be greater than 0.":"","To-do List":"Lista obaveza","Toggle the circle list style":"Uključite / isključite stil liste krugova","Toggle the decimal list style":"Uključi / isključi stil dekadne liste","Toggle the decimal with leading zero list style":"Prebaci decimalni znak sa vodećim stilom liste nula","Toggle the disc list style":"Uključite / isključite stil liste diskova","Toggle the lower–latin list style":"Uključite / isključite stil donje liste latinice","Toggle the lower–roman list style":"Uključite / isključite stil donje rimske liste","Toggle the square list style":"Uključite / isključite stil liste kvadrata","Toggle the upper–latin list style":"Uključite / isključite stil gornje liste latinice","Toggle the upper–roman list style":"Uključite / isključite stil gornje rimske liste","Upper-latin":"Gornji - latinski","Upper-roman":"Gornji - rimski"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(i){const e=i["sr-latn"]=i["sr-latn"]||{};e.dictionary=Object.assign(e.dictionary||{},{"Bulleted List":"Nabrajane liste","Bulleted list styles toolbar":"Traka sa alatkama za nabrajane liste",Circle:"Krug",Decimal:"Decimala","Decimal with leading zero":"Decimalni broj sa nulom na početku",Disc:"Disk","List properties":"Navedite svojstva","Lower-latin":"Donji - latinski","Lower–roman":"Donji - rimski","Numbered List":"Lista sa brojevima","Numbered list styles toolbar":"Traka sa altakama za liste sa brojevima","Reversed order":"Obrnuti redosled",Square:"Kvadrat","Start at":"Početi u","Start index must be greater than 0.":"Početni indeks mora biti veći od 0.","To-do List":"Lista obaveza","Toggle the circle list style":"Uključite / isključite stil liste krugova","Toggle the decimal list style":"Uključi / isključi stil dekadne liste","Toggle the decimal with leading zero list style":"Prebaci decimalni znak sa vodećim stilom liste nula","Toggle the disc list style":"Uključite / isključite stil liste diskova","Toggle the lower–latin list style":"Uključite / isključite stil donje liste latinice","Toggle the lower–roman list style":"Uključite / isključite stil donje rimske liste","Toggle the square list style":"Uključite / isključite stil liste kvadrata","Toggle the upper–latin list style":"Uključite / isključite stil gornje liste latinice","Toggle the upper–roman list style":"Uključite / isključite stil gornje rimske liste","Upper-latin":"Gornji - latinski","Upper-roman":"Gornji - rimski"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/sr.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e){const t=e.sr=e.sr||{};t.dictionary=Object.assign(t.dictionary||{},{"Bulleted List":"Набрајане листе","Bulleted list styles toolbar":"Трака са алаткама за набрајане листе",Circle:"Круг",Decimal:"Децимала","Decimal with leading zero":"Децимала са нулом на почетку",Disc:"Диск","List properties":"","Lower-latin":"Доњи - латински","Lower–roman":"Доњи - римски","Numbered List":"Листа са бројевима","Numbered list styles toolbar":"Трака са алаткама за листе са бројевима","Reversed order":"",Square:"Квадрат","Start at":"","Start index must be greater than 0.":"","To-do List":"Листа обавеза","Toggle the circle list style":"Укључи / искључи стил листе кругова","Toggle the decimal list style":"Укључи / искључи стил декадне листе","Toggle the decimal with leading zero list style":"Пребаци децимални знак са водећим стилом листе нула","Toggle the disc list style":"Укључите / искључите стил листе дискова","Toggle the lower–latin list style":"Укључите / искључите стил доње листе латинице","Toggle the lower–roman list style":"Укључите/ искључите стил доње римске листе","Toggle the square list style":"Укључи / искључи стил листе квадрата","Toggle the upper–latin list style":"Укључите / искључите стил горње листе латинице","Toggle the upper–roman list style":"Укључите / искључите стил горње римске листе","Upper-latin":"Горњи - латински","Upper-roman":"Горњи - римски"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(e){const t=e.sr=e.sr||{};t.dictionary=Object.assign(t.dictionary||{},{"Bulleted List":"Набрајане листе","Bulleted list styles toolbar":"Трака са алаткама за набрајане листе",Circle:"Круг",Decimal:"Децимала","Decimal with leading zero":"Децимала са нулом на почетку",Disc:"Диск","List properties":"Наведите својства ","Lower-latin":"Доњи - латински","Lower–roman":"Доњи - римски","Numbered List":"Листа са бројевима","Numbered list styles toolbar":"Трака са алаткама за листе са бројевима","Reversed order":"Обрнути редослед ",Square:"Квадрат","Start at":"Почети у","Start index must be greater than 0.":"Почетни индекс мора бити већи од 0. ","To-do List":"Листа обавеза","Toggle the circle list style":"Укључи / искључи стил листе кругова","Toggle the decimal list style":"Укључи / искључи стил декадне листе","Toggle the decimal with leading zero list style":"Пребаци децимални знак са водећим стилом листе нула","Toggle the disc list style":"Укључите / искључите стил листе дискова","Toggle the lower–latin list style":"Укључите / искључите стил доње листе латинице","Toggle the lower–roman list style":"Укључите/ искључите стил доње римске листе","Toggle the square list style":"Укључи / искључи стил листе квадрата","Toggle the upper–latin list style":"Укључите / искључите стил горње листе латинице","Toggle the upper–roman list style":"Укључите / искључите стил горње римске листе","Upper-latin":"Горњи - латински","Upper-roman":"Горњи - римски"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/ckeditor5-metadata.json
CHANGED
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
{
|
|
74
74
|
"name": "List properties",
|
|
75
75
|
"className": "ListProperties",
|
|
76
|
-
"description": "Enables styling the list item markers for both ordered and unordered lists.
|
|
76
|
+
"description": "Enables styling the list item markers for both ordered and unordered lists. You can choose various types of numerals and letters or visual markers to use with these lists. Also enables setting start index (initial marker value) and list reversal (from ascending to descending) for numbered lists. ",
|
|
77
77
|
"docs": "features/lists/lists.html#list-styles",
|
|
78
78
|
"path": "src/listproperties.js",
|
|
79
79
|
"requires": [
|
package/lang/translations/cs.po
CHANGED
|
@@ -110,16 +110,16 @@ msgstr "Velká písmena"
|
|
|
110
110
|
|
|
111
111
|
msgctxt "The label of the button that toggles the visibility of additional numbered list property UI fields."
|
|
112
112
|
msgid "List properties"
|
|
113
|
-
msgstr ""
|
|
113
|
+
msgstr "Vlastnosti seznamu"
|
|
114
114
|
|
|
115
115
|
msgctxt "The label of the input allowing to change the start index of a numbered list."
|
|
116
116
|
msgid "Start at"
|
|
117
|
-
msgstr ""
|
|
117
|
+
msgstr "Začít na"
|
|
118
118
|
|
|
119
119
|
msgctxt "The error message displayed when the numbered list start index input value is invalid."
|
|
120
120
|
msgid "Start index must be greater than 0."
|
|
121
|
-
msgstr ""
|
|
121
|
+
msgstr "Počátek musí být větší jak 0."
|
|
122
122
|
|
|
123
123
|
msgctxt "The label of the switch button that reverses the order of the numbered list."
|
|
124
124
|
msgid "Reversed order"
|
|
125
|
-
msgstr ""
|
|
125
|
+
msgstr "Obrácené pořadí"
|
package/lang/translations/el.po
CHANGED
|
@@ -18,108 +18,108 @@ msgstr ""
|
|
|
18
18
|
|
|
19
19
|
msgctxt "Toolbar button tooltip for the Numbered List feature."
|
|
20
20
|
msgid "Numbered List"
|
|
21
|
-
msgstr "
|
|
21
|
+
msgstr "Λίστα με αριθμούς"
|
|
22
22
|
|
|
23
23
|
msgctxt "Toolbar button tooltip for the Bulleted List feature."
|
|
24
24
|
msgid "Bulleted List"
|
|
25
|
-
msgstr "Λίστα
|
|
25
|
+
msgstr "Λίστα με κουκκίδες"
|
|
26
26
|
|
|
27
27
|
msgctxt "Toolbar button tooltip for the To-do List feature."
|
|
28
28
|
msgid "To-do List"
|
|
29
|
-
msgstr ""
|
|
29
|
+
msgstr "Λίστα προγραμματισμένων ενεργειών"
|
|
30
30
|
|
|
31
31
|
msgctxt "The ARIA label of the toolbar displaying buttons allowing users to change the bulleted list style."
|
|
32
32
|
msgid "Bulleted list styles toolbar"
|
|
33
|
-
msgstr ""
|
|
33
|
+
msgstr "Γραμμή εργαλείων στυλ λιστών με κουκίδες"
|
|
34
34
|
|
|
35
35
|
msgctxt "The ARIA label of the toolbar displaying buttons allowing users to change the numbered list style."
|
|
36
36
|
msgid "Numbered list styles toolbar"
|
|
37
|
-
msgstr ""
|
|
37
|
+
msgstr "Γραμμή εργαλείων στυλ λιστών με αριθμούς"
|
|
38
38
|
|
|
39
39
|
msgctxt "The ARIA label of the button that toggles the \"disc\" list style."
|
|
40
40
|
msgid "Toggle the disc list style"
|
|
41
|
-
msgstr ""
|
|
41
|
+
msgstr "Εναλλαγή του στυλ λίστας με δίσκο"
|
|
42
42
|
|
|
43
43
|
msgctxt "The ARIA label of the button that toggles the \"circle\" list style."
|
|
44
44
|
msgid "Toggle the circle list style"
|
|
45
|
-
msgstr ""
|
|
45
|
+
msgstr "Εναλλαγή του στυλ λίστας με κύκλο"
|
|
46
46
|
|
|
47
47
|
msgctxt "The ARIA label of the button that toggles the \"square\" list style."
|
|
48
48
|
msgid "Toggle the square list style"
|
|
49
|
-
msgstr ""
|
|
49
|
+
msgstr "Εναλαγή του στυλ λίστας με τετράγωνο"
|
|
50
50
|
|
|
51
51
|
msgctxt "The ARIA label of the button that toggles the \"decimal\" list style."
|
|
52
52
|
msgid "Toggle the decimal list style"
|
|
53
|
-
msgstr ""
|
|
53
|
+
msgstr "Εναλλαγή του στυλ λίστας με δεκαδικά"
|
|
54
54
|
|
|
55
55
|
msgctxt "The ARIA label of the button that toggles the \"decimal with leading zero\" list style."
|
|
56
56
|
msgid "Toggle the decimal with leading zero list style"
|
|
57
|
-
msgstr ""
|
|
57
|
+
msgstr "Εναλλαγή του στυλ λίστας δεκαδικών με μηδενικά"
|
|
58
58
|
|
|
59
59
|
msgctxt "The ARIA label of the button that toggles the \"lower–roman\" list style."
|
|
60
60
|
msgid "Toggle the lower–roman list style"
|
|
61
|
-
msgstr ""
|
|
61
|
+
msgstr "Εναλλαγή του στυλ λίστας με μικρά ρωμαϊκά"
|
|
62
62
|
|
|
63
63
|
msgctxt "The ARIA label of the button that toggles the \"upper–roman\" list style."
|
|
64
64
|
msgid "Toggle the upper–roman list style"
|
|
65
|
-
msgstr ""
|
|
65
|
+
msgstr "Εναλλαγή του στυλ λίστας με κεφαλαία ρωμαϊκά"
|
|
66
66
|
|
|
67
67
|
msgctxt "The ARIA label of the button that toggles the \"lower–latin\" list style."
|
|
68
68
|
msgid "Toggle the lower–latin list style"
|
|
69
|
-
msgstr ""
|
|
69
|
+
msgstr "Εναλλαγή του στυλ λίστας με μικρά λατινικά"
|
|
70
70
|
|
|
71
71
|
msgctxt "The ARIA label of the button that toggles the \"upper–latin\" list style."
|
|
72
72
|
msgid "Toggle the upper–latin list style"
|
|
73
|
-
msgstr ""
|
|
73
|
+
msgstr "Εναλλαγή του στυλ λίστας με κεφαλαία λατινικά"
|
|
74
74
|
|
|
75
75
|
msgctxt "The tooltip text of the button that toggles the \"disc\" list style."
|
|
76
76
|
msgid "Disc"
|
|
77
|
-
msgstr ""
|
|
77
|
+
msgstr "Δίσκος"
|
|
78
78
|
|
|
79
79
|
msgctxt "The tooltip text of the button that toggles the \"circle\" list style."
|
|
80
80
|
msgid "Circle"
|
|
81
|
-
msgstr ""
|
|
81
|
+
msgstr "Κύκλος"
|
|
82
82
|
|
|
83
83
|
msgctxt "The tooltip text of the button that toggles the \"square\" list style."
|
|
84
84
|
msgid "Square"
|
|
85
|
-
msgstr ""
|
|
85
|
+
msgstr "Τετράγωνο"
|
|
86
86
|
|
|
87
87
|
msgctxt "The tooltip text of the button that toggles the \"decimal\" list style."
|
|
88
88
|
msgid "Decimal"
|
|
89
|
-
msgstr ""
|
|
89
|
+
msgstr "Δεκαδικό"
|
|
90
90
|
|
|
91
91
|
msgctxt "The tooltip text of the button that toggles the \"decimal with leading zero\" list style."
|
|
92
92
|
msgid "Decimal with leading zero"
|
|
93
|
-
msgstr ""
|
|
93
|
+
msgstr "Δεκαδικό με μηδενικά"
|
|
94
94
|
|
|
95
95
|
msgctxt "The tooltip text of the button that toggles the \"lower–roman\" list style."
|
|
96
96
|
msgid "Lower–roman"
|
|
97
|
-
msgstr ""
|
|
97
|
+
msgstr "Μικρά ρωμαϊκά"
|
|
98
98
|
|
|
99
99
|
msgctxt "The tooltip text of the button that toggles the \"upper–roman\" list style."
|
|
100
100
|
msgid "Upper-roman"
|
|
101
|
-
msgstr ""
|
|
101
|
+
msgstr "Κεφαλαία ρωμαϊκά"
|
|
102
102
|
|
|
103
103
|
msgctxt "The tooltip text of the button that toggles the \"lower–latin\" list style."
|
|
104
104
|
msgid "Lower-latin"
|
|
105
|
-
msgstr ""
|
|
105
|
+
msgstr "Μικρά λατινικά"
|
|
106
106
|
|
|
107
107
|
msgctxt "The tooltip text of the button that toggles the \"upper–latin\" list style."
|
|
108
108
|
msgid "Upper-latin"
|
|
109
|
-
msgstr ""
|
|
109
|
+
msgstr "Κεφαλαία λατινικά"
|
|
110
110
|
|
|
111
111
|
msgctxt "The label of the button that toggles the visibility of additional numbered list property UI fields."
|
|
112
112
|
msgid "List properties"
|
|
113
|
-
msgstr ""
|
|
113
|
+
msgstr "Ιδιότητες λίστας"
|
|
114
114
|
|
|
115
115
|
msgctxt "The label of the input allowing to change the start index of a numbered list."
|
|
116
116
|
msgid "Start at"
|
|
117
|
-
msgstr ""
|
|
117
|
+
msgstr "Εναρξη από"
|
|
118
118
|
|
|
119
119
|
msgctxt "The error message displayed when the numbered list start index input value is invalid."
|
|
120
120
|
msgid "Start index must be greater than 0."
|
|
121
|
-
msgstr ""
|
|
121
|
+
msgstr "Ο αριθμός έναρξης πρέπει να είναι μεγαλύτερος από 0."
|
|
122
122
|
|
|
123
123
|
msgctxt "The label of the switch button that reverses the order of the numbered list."
|
|
124
124
|
msgid "Reversed order"
|
|
125
|
-
msgstr ""
|
|
125
|
+
msgstr "Αντίστροφη σειρά"
|
package/lang/translations/es.po
CHANGED
|
@@ -22,7 +22,7 @@ msgstr "Lista numerada"
|
|
|
22
22
|
|
|
23
23
|
msgctxt "Toolbar button tooltip for the Bulleted List feature."
|
|
24
24
|
msgid "Bulleted List"
|
|
25
|
-
msgstr "Lista
|
|
25
|
+
msgstr "Lista con viñetas"
|
|
26
26
|
|
|
27
27
|
msgctxt "Toolbar button tooltip for the To-do List feature."
|
|
28
28
|
msgid "To-do List"
|
|
@@ -30,51 +30,51 @@ msgstr "Lista de tareas"
|
|
|
30
30
|
|
|
31
31
|
msgctxt "The ARIA label of the toolbar displaying buttons allowing users to change the bulleted list style."
|
|
32
32
|
msgid "Bulleted list styles toolbar"
|
|
33
|
-
msgstr ""
|
|
33
|
+
msgstr "Estilos de lista con viñetas"
|
|
34
34
|
|
|
35
35
|
msgctxt "The ARIA label of the toolbar displaying buttons allowing users to change the numbered list style."
|
|
36
36
|
msgid "Numbered list styles toolbar"
|
|
37
|
-
msgstr ""
|
|
37
|
+
msgstr "Estilos de lista numerada"
|
|
38
38
|
|
|
39
39
|
msgctxt "The ARIA label of the button that toggles the \"disc\" list style."
|
|
40
40
|
msgid "Toggle the disc list style"
|
|
41
|
-
msgstr ""
|
|
41
|
+
msgstr "Cambiar estilo de viñeta a disco"
|
|
42
42
|
|
|
43
43
|
msgctxt "The ARIA label of the button that toggles the \"circle\" list style."
|
|
44
44
|
msgid "Toggle the circle list style"
|
|
45
|
-
msgstr ""
|
|
45
|
+
msgstr "Cambiar estilo de viñeta a círculo"
|
|
46
46
|
|
|
47
47
|
msgctxt "The ARIA label of the button that toggles the \"square\" list style."
|
|
48
48
|
msgid "Toggle the square list style"
|
|
49
|
-
msgstr ""
|
|
49
|
+
msgstr "Cambiar estilo de viñeta a cuadrado"
|
|
50
50
|
|
|
51
51
|
msgctxt "The ARIA label of the button that toggles the \"decimal\" list style."
|
|
52
52
|
msgid "Toggle the decimal list style"
|
|
53
|
-
msgstr ""
|
|
53
|
+
msgstr "Cambiar estilo de lista a decimal"
|
|
54
54
|
|
|
55
55
|
msgctxt "The ARIA label of the button that toggles the \"decimal with leading zero\" list style."
|
|
56
56
|
msgid "Toggle the decimal with leading zero list style"
|
|
57
|
-
msgstr ""
|
|
57
|
+
msgstr "Cambiar estilo de lista decimal empezando con cero"
|
|
58
58
|
|
|
59
59
|
msgctxt "The ARIA label of the button that toggles the \"lower–roman\" list style."
|
|
60
60
|
msgid "Toggle the lower–roman list style"
|
|
61
|
-
msgstr ""
|
|
61
|
+
msgstr "Cambiar estilo de lista a números romanos en minúsculas"
|
|
62
62
|
|
|
63
63
|
msgctxt "The ARIA label of the button that toggles the \"upper–roman\" list style."
|
|
64
64
|
msgid "Toggle the upper–roman list style"
|
|
65
|
-
msgstr ""
|
|
65
|
+
msgstr "Cambiar estilo de lista a números roanos en mayúsculas"
|
|
66
66
|
|
|
67
67
|
msgctxt "The ARIA label of the button that toggles the \"lower–latin\" list style."
|
|
68
68
|
msgid "Toggle the lower–latin list style"
|
|
69
|
-
msgstr ""
|
|
69
|
+
msgstr "Cambiar estilo de lista a números latinos en minúsculas"
|
|
70
70
|
|
|
71
71
|
msgctxt "The ARIA label of the button that toggles the \"upper–latin\" list style."
|
|
72
72
|
msgid "Toggle the upper–latin list style"
|
|
73
|
-
msgstr ""
|
|
73
|
+
msgstr "Cambiar estilo de lista a números latinos en mayúsculas"
|
|
74
74
|
|
|
75
75
|
msgctxt "The tooltip text of the button that toggles the \"disc\" list style."
|
|
76
76
|
msgid "Disc"
|
|
77
|
-
msgstr ""
|
|
77
|
+
msgstr "Disco"
|
|
78
78
|
|
|
79
79
|
msgctxt "The tooltip text of the button that toggles the \"circle\" list style."
|
|
80
80
|
msgid "Circle"
|
|
@@ -90,36 +90,36 @@ msgstr "Decimal"
|
|
|
90
90
|
|
|
91
91
|
msgctxt "The tooltip text of the button that toggles the \"decimal with leading zero\" list style."
|
|
92
92
|
msgid "Decimal with leading zero"
|
|
93
|
-
msgstr ""
|
|
93
|
+
msgstr "Decimal con cero"
|
|
94
94
|
|
|
95
95
|
msgctxt "The tooltip text of the button that toggles the \"lower–roman\" list style."
|
|
96
96
|
msgid "Lower–roman"
|
|
97
|
-
msgstr ""
|
|
97
|
+
msgstr "Romanos minúsculas"
|
|
98
98
|
|
|
99
99
|
msgctxt "The tooltip text of the button that toggles the \"upper–roman\" list style."
|
|
100
100
|
msgid "Upper-roman"
|
|
101
|
-
msgstr ""
|
|
101
|
+
msgstr "Romanos mayúscula"
|
|
102
102
|
|
|
103
103
|
msgctxt "The tooltip text of the button that toggles the \"lower–latin\" list style."
|
|
104
104
|
msgid "Lower-latin"
|
|
105
|
-
msgstr ""
|
|
105
|
+
msgstr "Latinos minúsculas"
|
|
106
106
|
|
|
107
107
|
msgctxt "The tooltip text of the button that toggles the \"upper–latin\" list style."
|
|
108
108
|
msgid "Upper-latin"
|
|
109
|
-
msgstr ""
|
|
109
|
+
msgstr "Latinos minúsculas"
|
|
110
110
|
|
|
111
111
|
msgctxt "The label of the button that toggles the visibility of additional numbered list property UI fields."
|
|
112
112
|
msgid "List properties"
|
|
113
|
-
msgstr ""
|
|
113
|
+
msgstr "Propiedades de la lista"
|
|
114
114
|
|
|
115
115
|
msgctxt "The label of the input allowing to change the start index of a numbered list."
|
|
116
116
|
msgid "Start at"
|
|
117
|
-
msgstr ""
|
|
117
|
+
msgstr "Empezar en"
|
|
118
118
|
|
|
119
119
|
msgctxt "The error message displayed when the numbered list start index input value is invalid."
|
|
120
120
|
msgid "Start index must be greater than 0."
|
|
121
|
-
msgstr ""
|
|
121
|
+
msgstr "El número de inicio debe ser mayor que 0."
|
|
122
122
|
|
|
123
123
|
msgctxt "The label of the switch button that reverses the order of the numbered list."
|
|
124
124
|
msgid "Reversed order"
|
|
125
|
-
msgstr ""
|
|
125
|
+
msgstr "Orden inverso"
|
package/lang/translations/it.po
CHANGED
|
@@ -110,16 +110,16 @@ msgstr "Lettera maiuscola"
|
|
|
110
110
|
|
|
111
111
|
msgctxt "The label of the button that toggles the visibility of additional numbered list property UI fields."
|
|
112
112
|
msgid "List properties"
|
|
113
|
-
msgstr ""
|
|
113
|
+
msgstr "Proprietà elenco"
|
|
114
114
|
|
|
115
115
|
msgctxt "The label of the input allowing to change the start index of a numbered list."
|
|
116
116
|
msgid "Start at"
|
|
117
|
-
msgstr ""
|
|
117
|
+
msgstr "Inizia da"
|
|
118
118
|
|
|
119
119
|
msgctxt "The error message displayed when the numbered list start index input value is invalid."
|
|
120
120
|
msgid "Start index must be greater than 0."
|
|
121
|
-
msgstr ""
|
|
121
|
+
msgstr "L'indice iniziale deve essere maggiore di 0."
|
|
122
122
|
|
|
123
123
|
msgctxt "The label of the switch button that reverses the order of the numbered list."
|
|
124
124
|
msgid "Reversed order"
|
|
125
|
-
msgstr ""
|
|
125
|
+
msgstr "Ordine inverso"
|
|
@@ -110,16 +110,16 @@ msgstr "Gornji - latinski"
|
|
|
110
110
|
|
|
111
111
|
msgctxt "The label of the button that toggles the visibility of additional numbered list property UI fields."
|
|
112
112
|
msgid "List properties"
|
|
113
|
-
msgstr ""
|
|
113
|
+
msgstr "Navedite svojstva"
|
|
114
114
|
|
|
115
115
|
msgctxt "The label of the input allowing to change the start index of a numbered list."
|
|
116
116
|
msgid "Start at"
|
|
117
|
-
msgstr ""
|
|
117
|
+
msgstr "Početi u"
|
|
118
118
|
|
|
119
119
|
msgctxt "The error message displayed when the numbered list start index input value is invalid."
|
|
120
120
|
msgid "Start index must be greater than 0."
|
|
121
|
-
msgstr ""
|
|
121
|
+
msgstr "Početni indeks mora biti veći od 0."
|
|
122
122
|
|
|
123
123
|
msgctxt "The label of the switch button that reverses the order of the numbered list."
|
|
124
124
|
msgid "Reversed order"
|
|
125
|
-
msgstr ""
|
|
125
|
+
msgstr "Obrnuti redosled"
|
package/lang/translations/sr.po
CHANGED
|
@@ -110,16 +110,16 @@ msgstr "Горњи - латински"
|
|
|
110
110
|
|
|
111
111
|
msgctxt "The label of the button that toggles the visibility of additional numbered list property UI fields."
|
|
112
112
|
msgid "List properties"
|
|
113
|
-
msgstr ""
|
|
113
|
+
msgstr "Наведите својства "
|
|
114
114
|
|
|
115
115
|
msgctxt "The label of the input allowing to change the start index of a numbered list."
|
|
116
116
|
msgid "Start at"
|
|
117
|
-
msgstr ""
|
|
117
|
+
msgstr "Почети у"
|
|
118
118
|
|
|
119
119
|
msgctxt "The error message displayed when the numbered list start index input value is invalid."
|
|
120
120
|
msgid "Start index must be greater than 0."
|
|
121
|
-
msgstr ""
|
|
121
|
+
msgstr "Почетни индекс мора бити већи од 0. "
|
|
122
122
|
|
|
123
123
|
msgctxt "The label of the switch button that reverses the order of the numbered list."
|
|
124
124
|
msgid "Reversed order"
|
|
125
|
-
msgstr ""
|
|
125
|
+
msgstr "Обрнути редослед "
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-list",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "33.0.0",
|
|
4
4
|
"description": "Ordered and unordered lists feature to CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -12,31 +12,31 @@
|
|
|
12
12
|
],
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"ckeditor5": "^
|
|
16
|
-
"@ckeditor/ckeditor5-ui": "^
|
|
15
|
+
"ckeditor5": "^33.0.0",
|
|
16
|
+
"@ckeditor/ckeditor5-ui": "^33.0.0"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@ckeditor/ckeditor5-basic-styles": "^
|
|
20
|
-
"@ckeditor/ckeditor5-block-quote": "^
|
|
21
|
-
"@ckeditor/ckeditor5-clipboard": "^
|
|
22
|
-
"@ckeditor/ckeditor5-core": "^
|
|
23
|
-
"@ckeditor/ckeditor5-dev-utils": "^
|
|
24
|
-
"@ckeditor/ckeditor5-editor-classic": "^
|
|
25
|
-
"@ckeditor/ckeditor5-engine": "^
|
|
26
|
-
"@ckeditor/ckeditor5-enter": "^
|
|
27
|
-
"@ckeditor/ckeditor5-essentials": "^
|
|
28
|
-
"@ckeditor/ckeditor5-font": "^
|
|
29
|
-
"@ckeditor/ckeditor5-heading": "^
|
|
30
|
-
"@ckeditor/ckeditor5-highlight": "^
|
|
31
|
-
"@ckeditor/ckeditor5-indent": "^
|
|
32
|
-
"@ckeditor/ckeditor5-link": "^
|
|
33
|
-
"@ckeditor/ckeditor5-paragraph": "^
|
|
34
|
-
"@ckeditor/ckeditor5-remove-format": "^
|
|
35
|
-
"@ckeditor/ckeditor5-table": "^
|
|
36
|
-
"@ckeditor/ckeditor5-theme-lark": "^
|
|
37
|
-
"@ckeditor/ckeditor5-typing": "^
|
|
38
|
-
"@ckeditor/ckeditor5-undo": "^
|
|
39
|
-
"@ckeditor/ckeditor5-utils": "^
|
|
19
|
+
"@ckeditor/ckeditor5-basic-styles": "^33.0.0",
|
|
20
|
+
"@ckeditor/ckeditor5-block-quote": "^33.0.0",
|
|
21
|
+
"@ckeditor/ckeditor5-clipboard": "^33.0.0",
|
|
22
|
+
"@ckeditor/ckeditor5-core": "^33.0.0",
|
|
23
|
+
"@ckeditor/ckeditor5-dev-utils": "^28.0.1",
|
|
24
|
+
"@ckeditor/ckeditor5-editor-classic": "^33.0.0",
|
|
25
|
+
"@ckeditor/ckeditor5-engine": "^33.0.0",
|
|
26
|
+
"@ckeditor/ckeditor5-enter": "^33.0.0",
|
|
27
|
+
"@ckeditor/ckeditor5-essentials": "^33.0.0",
|
|
28
|
+
"@ckeditor/ckeditor5-font": "^33.0.0",
|
|
29
|
+
"@ckeditor/ckeditor5-heading": "^33.0.0",
|
|
30
|
+
"@ckeditor/ckeditor5-highlight": "^33.0.0",
|
|
31
|
+
"@ckeditor/ckeditor5-indent": "^33.0.0",
|
|
32
|
+
"@ckeditor/ckeditor5-link": "^33.0.0",
|
|
33
|
+
"@ckeditor/ckeditor5-paragraph": "^33.0.0",
|
|
34
|
+
"@ckeditor/ckeditor5-remove-format": "^33.0.0",
|
|
35
|
+
"@ckeditor/ckeditor5-table": "^33.0.0",
|
|
36
|
+
"@ckeditor/ckeditor5-theme-lark": "^33.0.0",
|
|
37
|
+
"@ckeditor/ckeditor5-typing": "^33.0.0",
|
|
38
|
+
"@ckeditor/ckeditor5-undo": "^33.0.0",
|
|
39
|
+
"@ckeditor/ckeditor5-utils": "^33.0.0",
|
|
40
40
|
"webpack": "^5.58.1",
|
|
41
41
|
"webpack-cli": "^4.9.0"
|
|
42
42
|
},
|
package/src/index.js
CHANGED
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
export { default as List } from './list';
|
|
11
|
-
export { default as ListEditing } from './listediting';
|
|
12
|
-
export { default as ListUI } from './listui';
|
|
11
|
+
export { default as ListEditing } from './list/listediting';
|
|
12
|
+
export { default as ListUI } from './list/listui';
|
|
13
13
|
export { default as ListProperties } from './listproperties';
|
|
14
|
-
export { default as ListPropertiesEditing } from './listpropertiesediting';
|
|
15
|
-
export { default as ListPropertiesUI } from './listpropertiesui';
|
|
14
|
+
export { default as ListPropertiesEditing } from './listproperties/listpropertiesediting';
|
|
15
|
+
export { default as ListPropertiesUI } from './listproperties/listpropertiesui';
|
|
16
16
|
export { default as TodoList } from './todolist';
|
|
17
|
-
export { default as TodoListEditing } from './todolistediting';
|
|
18
|
-
export { default as TodoListUI } from './todolistui';
|
|
17
|
+
export { default as TodoListEditing } from './todolist/todolistediting';
|
|
18
|
+
export { default as TodoListUI } from './todolist/todolistui';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* @module list/converters
|
|
7
|
+
* @module list/list/converters
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import { TreeWalker } from 'ckeditor5/src/engine';
|
|
@@ -97,11 +97,11 @@ export function modelViewRemove( model ) {
|
|
|
97
97
|
* A model-to-view converter for the `type` attribute change on the `listItem` model element.
|
|
98
98
|
*
|
|
99
99
|
* This change means that the `<li>` element parent changes from `<ul>` to `<ol>` (or vice versa). This is accomplished
|
|
100
|
-
* by breaking view elements and changing their name. The next {@link module:list/converters~modelViewMergeAfterChangeType}
|
|
100
|
+
* by breaking view elements and changing their name. The next {@link module:list/list/converters~modelViewMergeAfterChangeType}
|
|
101
101
|
* converter will attempt to merge split nodes.
|
|
102
102
|
*
|
|
103
103
|
* Splitting this conversion into 2 steps makes it possible to add an additional conversion in the middle.
|
|
104
|
-
* Check {@link module:list/todolistconverters~modelViewChangeType} to see an example of it.
|
|
104
|
+
* Check {@link module:list/todolist/todolistconverters~modelViewChangeType} to see an example of it.
|
|
105
105
|
*
|
|
106
106
|
* @see module:engine/conversion/downcastdispatcher~DowncastDispatcher#event:attribute
|
|
107
107
|
* @param {module:utils/eventinfo~EventInfo} evt An object containing information about the fired event.
|
|
@@ -109,7 +109,7 @@ export function modelViewRemove( model ) {
|
|
|
109
109
|
* @param {module:engine/conversion/downcastdispatcher~DowncastConversionApi} conversionApi Conversion interface.
|
|
110
110
|
*/
|
|
111
111
|
export function modelViewChangeType( evt, data, conversionApi ) {
|
|
112
|
-
if ( !conversionApi.consumable.
|
|
112
|
+
if ( !conversionApi.consumable.test( data.item, evt.name ) ) {
|
|
113
113
|
return;
|
|
114
114
|
}
|
|
115
115
|
|
|
@@ -130,7 +130,7 @@ export function modelViewChangeType( evt, data, conversionApi ) {
|
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
/**
|
|
133
|
-
* A model-to-view converter that attempts to merge nodes split by {@link module:list/converters~modelViewChangeType}.
|
|
133
|
+
* A model-to-view converter that attempts to merge nodes split by {@link module:list/list/converters~modelViewChangeType}.
|
|
134
134
|
*
|
|
135
135
|
* @see module:engine/conversion/downcastdispatcher~DowncastDispatcher#event:attribute
|
|
136
136
|
* @param {module:utils/eventinfo~EventInfo} evt An object containing information about the fired event.
|
|
@@ -138,6 +138,8 @@ export function modelViewChangeType( evt, data, conversionApi ) {
|
|
|
138
138
|
* @param {module:engine/conversion/downcastdispatcher~DowncastConversionApi} conversionApi Conversion interface.
|
|
139
139
|
*/
|
|
140
140
|
export function modelViewMergeAfterChangeType( evt, data, conversionApi ) {
|
|
141
|
+
conversionApi.consumable.consume( data.item, evt.name );
|
|
142
|
+
|
|
141
143
|
const viewItem = conversionApi.mapper.toViewElement( data.item );
|
|
142
144
|
const viewList = viewItem.parent;
|
|
143
145
|
const viewWriter = conversionApi.writer;
|
|
@@ -145,11 +147,6 @@ export function modelViewMergeAfterChangeType( evt, data, conversionApi ) {
|
|
|
145
147
|
// Merge the changed view list with other lists, if possible.
|
|
146
148
|
mergeViewLists( viewWriter, viewList, viewList.nextSibling );
|
|
147
149
|
mergeViewLists( viewWriter, viewList.previousSibling, viewList );
|
|
148
|
-
|
|
149
|
-
// Consumable insertion of children inside the item. They are already handled by re-building the item in view.
|
|
150
|
-
for ( const child of data.item.getChildren() ) {
|
|
151
|
-
conversionApi.consumable.consume( child, 'insert' );
|
|
152
|
-
}
|
|
153
150
|
}
|
|
154
151
|
|
|
155
152
|
/**
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* @module list/listui
|
|
7
|
+
* @module list/list/listui
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import { createUIComponent } from './utils';
|
|
11
11
|
|
|
12
|
-
import numberedListIcon from '
|
|
13
|
-
import bulletedListIcon from '
|
|
12
|
+
import numberedListIcon from '../../theme/icons/numberedlist.svg';
|
|
13
|
+
import bulletedListIcon from '../../theme/icons/bulletedlist.svg';
|
|
14
14
|
|
|
15
15
|
import { Plugin } from 'ckeditor5/src/core';
|
|
16
16
|
|