@ckeditor/ckeditor5-table 31.0.0 → 31.1.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.
Files changed (34) hide show
  1. package/build/table.js +1 -1
  2. package/build/translations/es.js +1 -1
  3. package/build/translations/id.js +1 -1
  4. package/build/translations/pt-br.js +1 -1
  5. package/build/translations/uz.js +1 -0
  6. package/build/translations/zh.js +1 -1
  7. package/lang/translations/es.po +11 -11
  8. package/lang/translations/id.po +10 -10
  9. package/lang/translations/pt-br.po +3 -3
  10. package/lang/translations/uz.po +261 -0
  11. package/lang/translations/zh.po +3 -3
  12. package/package.json +21 -21
  13. package/src/converters/tableproperties.js +5 -4
  14. package/src/converters/upcasttable.js +6 -2
  15. package/src/tablecellproperties/commands/tablecellbackgroundcolorcommand.js +1 -1
  16. package/src/tablecellproperties/commands/tablecellbordercolorcommand.js +1 -1
  17. package/src/tablecellproperties/commands/tablecellborderstylecommand.js +1 -1
  18. package/src/tablecellproperties/commands/tablecellborderwidthcommand.js +1 -1
  19. package/src/tablecellproperties/commands/tablecellheightcommand.js +1 -1
  20. package/src/tablecellproperties/commands/tablecellhorizontalalignmentcommand.js +1 -1
  21. package/src/tablecellproperties/commands/tablecellpaddingcommand.js +1 -1
  22. package/src/tablecellproperties/commands/tablecellverticalalignmentcommand.js +1 -1
  23. package/src/tablecellproperties/commands/tablecellwidthcommand.js +1 -1
  24. package/src/tablecellproperties/tablecellpropertiesediting.js +41 -34
  25. package/src/tablecellproperties/ui/tablecellpropertiesview.js +10 -0
  26. package/src/tableproperties/commands/tablealignmentcommand.js +1 -1
  27. package/src/tableproperties/commands/tablebackgroundcolorcommand.js +1 -1
  28. package/src/tableproperties/commands/tablebordercolorcommand.js +1 -1
  29. package/src/tableproperties/commands/tableborderstylecommand.js +1 -1
  30. package/src/tableproperties/commands/tableborderwidthcommand.js +1 -1
  31. package/src/tableproperties/commands/tableheightcommand.js +1 -1
  32. package/src/tableproperties/commands/tablewidthcommand.js +1 -1
  33. package/src/tableproperties/tablepropertiesediting.js +28 -20
  34. package/src/tableproperties/ui/tablepropertiesview.js +10 -0
@@ -1 +1 @@
1
- !function(e){const l=e.es=e.es||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"","Align cell text to the top":"","Align table to the left":"","Align table to the right":"",Alignment:"",Background:"",Border:"","Cell properties":"","Center table":"",Color:"","Color picker":"",Column:"Columna",Dashed:"","Delete column":"Eliminar columna","Delete row":"Eliminar fila",Dimensions:"",Dotted:"",Double:"","Enter table caption":"",Groove:"","Header column":"Columna de encabezado","Header row":"Fila de encabezado",Height:"","Horizontal text alignment toolbar":"","Insert column left":"Insertar columna izquierda","Insert column right":"Insertar columna derecha","Insert row above":"Insertar fila encima","Insert row below":"Insertar fila debajo","Insert table":"Insertar tabla",Inset:"","Justify cell text":"","Merge cell down":"Combinar celda inferior","Merge cell left":"Combinar celda izquierda","Merge cell right":"Combinar celda derecha","Merge cell up":"Combinar celda superior","Merge cells":"Combinar celdas",None:"",Outset:"",Padding:"",Ridge:"",Row:"Fila","Select column":"","Select row":"",Solid:"","Split cell horizontally":"Dividir celdas horizontalmente","Split cell vertically":"Dividir celdas verticalmente",Style:"","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"Barra de herramientas de tabla",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","Toggle caption off":"","Toggle caption on":"","Vertical text alignment toolbar":"",Width:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(e){const l=e.es=e.es||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"","Align cell text to the top":"","Align table to the left":"Alinear tabla a la izquierda","Align table to the right":"Alinear tabla a la derecha",Alignment:"",Background:"",Border:"Borde","Cell properties":"","Center table":"Centrar tabla",Color:"Color","Color picker":"",Column:"Columna",Dashed:"","Delete column":"Eliminar columna","Delete row":"Eliminar fila",Dimensions:"Dimensiones",Dotted:"",Double:"Doble","Enter table caption":"",Groove:"","Header column":"Columna de encabezado","Header row":"Fila de encabezado",Height:"","Horizontal text alignment toolbar":"","Insert column left":"Insertar columna izquierda","Insert column right":"Insertar columna derecha","Insert row above":"Insertar fila encima","Insert row below":"Insertar fila debajo","Insert table":"Insertar tabla",Inset:"","Justify cell text":"","Merge cell down":"Combinar celda inferior","Merge cell left":"Combinar celda izquierda","Merge cell right":"Combinar celda derecha","Merge cell up":"Combinar celda superior","Merge cells":"Combinar celdas",None:"",Outset:"",Padding:"",Ridge:"",Row:"Fila","Select column":"Seleccionar columna","Select row":"Seleccionar fila",Solid:"Sólido","Split cell horizontally":"Dividir celdas horizontalmente","Split cell vertically":"Dividir celdas verticalmente",Style:"Estilo","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"Barra de herramientas de tabla",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","Toggle caption off":"","Toggle caption on":"","Vertical text alignment toolbar":"",Width:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(e){const l=e.id=e.id||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"","Align cell text to the top":"","Align table to the left":"","Align table to the right":"",Alignment:"",Background:"Latar belakang",Border:"Garis batas","Cell properties":"Properti sel","Center table":"",Color:"Warna","Color picker":"",Column:"Kolom",Dashed:"","Delete column":"Hapus kolom","Delete row":"Hapus baris",Dimensions:"Dimensi",Dotted:"",Double:"","Enter table caption":"",Groove:"","Header column":"Kolom tajuk","Header row":"Baris tajuk",Height:"Tinggi","Horizontal text alignment toolbar":"","Insert column left":"Sisipkan kolom ke kiri","Insert column right":"Sisipkan kolom ke kanan","Insert row above":"Sisipkan baris ke atas","Insert row below":"Sisipkan baris ke bawah","Insert table":"Sisipkan tabel",Inset:"","Justify cell text":"","Merge cell down":"Gabungkan sel ke bawah","Merge cell left":"Gabungkan sel ke kiri","Merge cell right":"Gabungkan sel ke kanan","Merge cell up":"Gabungkan sel ke atas","Merge cells":"Gabungkan sel",None:"",Outset:"",Padding:"",Ridge:"",Row:"Baris","Select column":"Seleksi kolom","Select row":"Seleksi baris",Solid:"","Split cell horizontally":"Bagikan sel secara horizontal","Split cell vertically":"Bagikan sel secara vertikal",Style:"Gaya","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"Properti tabel","Table toolbar":"Alat tabel",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","Toggle caption off":"","Toggle caption on":"","Vertical text alignment toolbar":"",Width:"Lebar"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(e){const a=e.id=e.id||{};a.dictionary=Object.assign(a.dictionary||{},{"Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"","Align cell text to the top":"","Align table to the left":"","Align table to the right":"",Alignment:"",Background:"Latar belakang",Border:"Garis batas","Cell properties":"Properti sel","Center table":"",Color:"Warna","Color picker":"",Column:"Kolom",Dashed:"Garis putus-putus","Delete column":"Hapus kolom","Delete row":"Hapus baris",Dimensions:"Dimensi",Dotted:"Titik titik",Double:"Ganda","Enter table caption":"Masukkan keterangan tabel",Groove:"","Header column":"Kolom tajuk","Header row":"Baris tajuk",Height:"Tinggi","Horizontal text alignment toolbar":"","Insert column left":"Sisipkan kolom ke kiri","Insert column right":"Sisipkan kolom ke kanan","Insert row above":"Sisipkan baris ke atas","Insert row below":"Sisipkan baris ke bawah","Insert table":"Sisipkan tabel",Inset:"","Justify cell text":"","Merge cell down":"Gabungkan sel ke bawah","Merge cell left":"Gabungkan sel ke kiri","Merge cell right":"Gabungkan sel ke kanan","Merge cell up":"Gabungkan sel ke atas","Merge cells":"Gabungkan sel",None:"Tidak ada",Outset:"",Padding:"",Ridge:"",Row:"Baris","Select column":"Seleksi kolom","Select row":"Seleksi baris",Solid:"Garis utuh","Split cell horizontally":"Bagikan sel secara horizontal","Split cell vertically":"Bagikan sel secara vertikal",Style:"Gaya","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"Properti tabel","Table toolbar":"Alat tabel",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Warna tidak valid. Coba "#FF0000" atau "rgb(255,0,0)" atau "red".','The value is invalid. Try "10px" or "2em" or simply "2".':'Nilai tidak valid. Coba "10px" atau "2em" atau hanya "2".',"Toggle caption off":"Sembunyikan keterangan","Toggle caption on":"Tampilkan keterangan","Vertical text alignment toolbar":"",Width:"Lebar"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(e){const a=e["pt-br"]=e["pt-br"]||{};a.dictionary=Object.assign(a.dictionary||{},{"Align cell text to the bottom":"Alinhar texto da célula para baixo","Align cell text to the center":"Alinhar texto da célula centralizado","Align cell text to the left":"Alinhar texto da célula para a esquerda","Align cell text to the middle":"Alinhar texto da célula para o meio","Align cell text to the right":"Alinhar texto da célula para a direita","Align cell text to the top":"Alinhar texto da célula para o topo","Align table to the left":"Alinhar tabela para esquerda","Align table to the right":"Alinhar tabela para direita",Alignment:"Alinhamento",Background:"Cor de fundo",Border:"Borda","Cell properties":"Propriedades da célula","Center table":"Centralizar tabela",Color:"Cor","Color picker":"Seletor de cor",Column:"Coluna",Dashed:"Tracejada","Delete column":"Excluir coluna","Delete row":"Excluir linha",Dimensions:"Dimensões",Dotted:"Pontilhada",Double:"Dupla","Enter table caption":"",Groove:"Ranhura","Header column":"Coluna de cabeçalho","Header row":"Linha de cabeçalho",Height:"Altura","Horizontal text alignment toolbar":"Ferramentas de alinhamento horizontal do texto","Insert column left":"Inserir coluna à esquerda","Insert column right":"Inserir coluna à direita","Insert row above":"Inserir linha acima","Insert row below":"Inserir linha abaixo","Insert table":"Inserir tabela",Inset:"Baixo relevo","Justify cell text":"Justificar texto da célula","Merge cell down":"Mesclar abaixo","Merge cell left":"Mesclar à esquerda","Merge cell right":"Mesclar à direita","Merge cell up":"Mesclar acima","Merge cells":"Mesclar células",None:"Sem borda",Outset:"Alto relevo",Padding:"Margem interna",Ridge:"Crista",Row:"Linha","Select column":"Selecionar coluna","Select row":"Selecionar linha",Solid:"Sólida","Split cell horizontally":"Dividir horizontalmente","Split cell vertically":"Dividir verticalmente",Style:"Estilo","Table alignment toolbar":"Ferramentas de alinhamento da tabela","Table cell text alignment":"Alinhamento do texto na célula","Table properties":"Propriedades da tabela","Table toolbar":"Ferramentas de Tabela",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Cor inválida. Tente "#FF0000" ou "rgb(255,0,0)" ou "red"','The value is invalid. Try "10px" or "2em" or simply "2".':'Valor inválido. Tente "10px" ou "2em" ou apenas "2"',"Toggle caption off":"","Toggle caption on":"","Vertical text alignment toolbar":"Ferramentas de alinhamento vertical do texto",Width:"Largura"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(e){const a=e["pt-br"]=e["pt-br"]||{};a.dictionary=Object.assign(a.dictionary||{},{"Align cell text to the bottom":"Alinhar texto da célula para baixo","Align cell text to the center":"Alinhar texto da célula centralizado","Align cell text to the left":"Alinhar texto da célula para a esquerda","Align cell text to the middle":"Alinhar texto da célula para o meio","Align cell text to the right":"Alinhar texto da célula para a direita","Align cell text to the top":"Alinhar texto da célula para o topo","Align table to the left":"Alinhar tabela para esquerda","Align table to the right":"Alinhar tabela para direita",Alignment:"Alinhamento",Background:"Cor de fundo",Border:"Borda","Cell properties":"Propriedades da célula","Center table":"Centralizar tabela",Color:"Cor","Color picker":"Seletor de cor",Column:"Coluna",Dashed:"Tracejada","Delete column":"Excluir coluna","Delete row":"Excluir linha",Dimensions:"Dimensões",Dotted:"Pontilhada",Double:"Dupla","Enter table caption":"Inserir legenda da tabela",Groove:"Ranhura","Header column":"Coluna de cabeçalho","Header row":"Linha de cabeçalho",Height:"Altura","Horizontal text alignment toolbar":"Ferramentas de alinhamento horizontal do texto","Insert column left":"Inserir coluna à esquerda","Insert column right":"Inserir coluna à direita","Insert row above":"Inserir linha acima","Insert row below":"Inserir linha abaixo","Insert table":"Inserir tabela",Inset:"Baixo relevo","Justify cell text":"Justificar texto da célula","Merge cell down":"Mesclar abaixo","Merge cell left":"Mesclar à esquerda","Merge cell right":"Mesclar à direita","Merge cell up":"Mesclar acima","Merge cells":"Mesclar células",None:"Sem borda",Outset:"Alto relevo",Padding:"Margem interna",Ridge:"Crista",Row:"Linha","Select column":"Selecionar coluna","Select row":"Selecionar linha",Solid:"Sólida","Split cell horizontally":"Dividir horizontalmente","Split cell vertically":"Dividir verticalmente",Style:"Estilo","Table alignment toolbar":"Ferramentas de alinhamento da tabela","Table cell text alignment":"Alinhamento do texto na célula","Table properties":"Propriedades da tabela","Table toolbar":"Ferramentas de Tabela",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Cor inválida. Tente "#FF0000" ou "rgb(255,0,0)" ou "red"','The value is invalid. Try "10px" or "2em" or simply "2".':'Valor inválido. Tente "10px" ou "2em" ou apenas "2"',"Toggle caption off":"Desabilitar legenda","Toggle caption on":"Habilitar legenda","Vertical text alignment toolbar":"Ferramentas de alinhamento vertical do texto",Width:"Largura"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(a){const i=a.uz=a.uz||{};i.dictionary=Object.assign(i.dictionary||{},{"Align cell text to the bottom":"Hujayra matnini pastga tekislash","Align cell text to the center":"Matnni markazga tekislash","Align cell text to the left":"Matnni chapga tekislash","Align cell text to the middle":"Hujayra matnini markazga tekislash","Align cell text to the right":"Matnni o'ngga tekislash","Align cell text to the top":"Hujayra matnini tepaga tekislash","Align table to the left":"Jadvalni chap tomonga tekislash","Align table to the right":"Jadvalni o'ngga tekislash",Alignment:"Tekislash",Background:"Fon",Border:"Chegara","Cell properties":"Hujayra xususiyatlari","Center table":"Jadvalni markazga tekislash",Color:"Rang","Color picker":"Rang tanlash",Column:"Ustun",Dashed:"Nuqtali","Delete column":"Ustunni o'chirish","Delete row":"Satrni o'chirish",Dimensions:"O'lchamlar",Dotted:"Nuqta",Double:"Ikkitalik","Enter table caption":"",Groove:"Yivli","Header column":"Ustun sarlavhalari","Header row":"Sarlavhalar satri",Height:"Balandligi","Horizontal text alignment toolbar":"Matnni gorizontal tekislash asboblar paneli","Insert column left":"Ustunni chapga kiritish","Insert column right":"Ustunni o'ngga kiritish","Insert row above":"Yuqoriga qatorni kiritish","Insert row below":"Pastga qatorni kiritish","Insert table":"Jadvalni kiritish",Inset:"Tushkunlikka tushgan","Justify cell text":"Matnni kenglikka tekislash","Merge cell down":"Pastdagi katak bilan birlashtirish","Merge cell left":"Chapdagi katakcha bilan birlashtirish","Merge cell right":"O'ngdagi katakcha bilan birlashtirish","Merge cell up":"Yuqoridagi katak bilan birlashtirish","Merge cells":"Hujayralarni birlashtirish",None:"Yo'q",Outset:"Qavariq",Padding:"Chekinish",Ridge:"Qirrali",Row:"Satr","Select column":"Ustunni tanlash","Select row":"Satrni tanlang",Solid:"Qattiq","Split cell horizontally":"Hujayrani gorizontal ravishda ajratish","Split cell vertically":"Hujayrani vertikal ravishda ajratish",Style:"Uslub","Table alignment toolbar":"Jadvalni tekislash asboblar paneli","Table cell text alignment":"Jadval katakchasidagi matnni tekislash","Table properties":"Jadvalning xususiyatlari","Table toolbar":"Jadval asboblar paneli",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Noto\'g\'ri rang. \\ "# FF0000 \\" yoki \\ "rgb (255,0,0) \\" yoki \\ "red \\" ni sinab ko\'ring.','The value is invalid. Try "10px" or "2em" or simply "2".':'Noto\'g\'ri qiymat. \\ "10px \\" yoki \\ "2em \\" yoki shunchaki \\ "2 \\" ni sinab ko\'ring.',"Toggle caption off":"","Toggle caption on":"","Vertical text alignment toolbar":"Vertikal matnni tekislash asboblar paneli",Width:"Kengligi"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(e){const t=e.zh=e.zh||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"向下對齊","Align cell text to the center":"置中對齊","Align cell text to the left":"靠左對齊","Align cell text to the middle":"置中對齊","Align cell text to the right":"靠右對齊","Align cell text to the top":"向上對齊","Align table to the left":"靠左對齊","Align table to the right":"靠右對齊",Alignment:"對齊",Background:"背景顏色",Border:"邊框","Cell properties":"儲存格屬性","Center table":"置中對齊",Color:"文字顏色","Color picker":"顏色選擇",Column:"欄",Dashed:"虛線","Delete column":"刪除欄","Delete row":"刪除列",Dimensions:"尺寸",Dotted:"點線",Double:"雙線","Enter table caption":"",Groove:"內凹線","Header column":"標題欄","Header row":"標題列",Height:"高度","Horizontal text alignment toolbar":"水平對齊","Insert column left":"插入左方欄","Insert column right":"插入右方欄","Insert row above":"插入上方列","Insert row below":"插入下方列","Insert table":"插入表格",Inset:"內邊線","Justify cell text":"分散對齊","Merge cell down":"合併下方儲存格","Merge cell left":"合併左方儲存格","Merge cell right":"合併右方儲存格","Merge cell up":"合併上方儲存格","Merge cells":"合併儲存格",None:"無",Outset:"外框線",Padding:"儲存格留白",Ridge:"凸起線",Row:"列","Select column":"選擇欄","Select row":"選擇列",Solid:"實線","Split cell horizontally":"水平分割儲存格","Split cell vertically":"垂直分割儲存格",Style:"樣式","Table alignment toolbar":"表格對齊","Table cell text alignment":"儲存格文字對齊","Table properties":"表格屬性","Table toolbar":"表格工具",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'顏色代碼錯誤。試試看 "#FF0000" 或 "rgb(255, 0, 0)" 或 "red"。','The value is invalid. Try "10px" or "2em" or simply "2".':'尺寸代碼錯誤。試試看 "10px" 或 "2em" 或簡單寫 "2"。',"Toggle caption off":"","Toggle caption on":"","Vertical text alignment toolbar":"垂直對齊",Width:"寬度"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(e){const t=e.zh=e.zh||{};t.dictionary=Object.assign(t.dictionary||{},{"Align cell text to the bottom":"向下對齊","Align cell text to the center":"置中對齊","Align cell text to the left":"靠左對齊","Align cell text to the middle":"置中對齊","Align cell text to the right":"靠右對齊","Align cell text to the top":"向上對齊","Align table to the left":"靠左對齊","Align table to the right":"靠右對齊",Alignment:"對齊",Background:"背景顏色",Border:"邊框","Cell properties":"儲存格屬性","Center table":"置中對齊",Color:"文字顏色","Color picker":"顏色選擇",Column:"欄",Dashed:"虛線","Delete column":"刪除欄","Delete row":"刪除列",Dimensions:"尺寸",Dotted:"點線",Double:"雙線","Enter table caption":"輸入表標題",Groove:"內凹線","Header column":"標題欄","Header row":"標題列",Height:"高度","Horizontal text alignment toolbar":"水平對齊","Insert column left":"插入左方欄","Insert column right":"插入右方欄","Insert row above":"插入上方列","Insert row below":"插入下方列","Insert table":"插入表格",Inset:"內邊線","Justify cell text":"分散對齊","Merge cell down":"合併下方儲存格","Merge cell left":"合併左方儲存格","Merge cell right":"合併右方儲存格","Merge cell up":"合併上方儲存格","Merge cells":"合併儲存格",None:"無",Outset:"外框線",Padding:"儲存格留白",Ridge:"凸起線",Row:"列","Select column":"選擇欄","Select row":"選擇列",Solid:"實線","Split cell horizontally":"水平分割儲存格","Split cell vertically":"垂直分割儲存格",Style:"樣式","Table alignment toolbar":"表格對齊","Table cell text alignment":"儲存格文字對齊","Table properties":"表格屬性","Table toolbar":"表格工具",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'顏色代碼錯誤。試試看 "#FF0000" 或 "rgb(255, 0, 0)" 或 "red"。','The value is invalid. Try "10px" or "2em" or simply "2".':'尺寸代碼錯誤。試試看 "10px" 或 "2em" 或簡單寫 "2"。',"Toggle caption off":"關閉表標題","Toggle caption on":"開啟表標題","Vertical text alignment toolbar":"垂直對齊",Width:"寬度"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -38,7 +38,7 @@ msgstr "Eliminar columna"
38
38
 
39
39
  msgctxt "Label for the select the entire table column button."
40
40
  msgid "Select column"
41
- msgstr ""
41
+ msgstr "Seleccionar columna"
42
42
 
43
43
  msgctxt "Label for the table column dropdown button."
44
44
  msgid "Column"
@@ -62,7 +62,7 @@ msgstr "Eliminar fila"
62
62
 
63
63
  msgctxt "Label for the select the entire table row button."
64
64
  msgid "Select row"
65
- msgstr ""
65
+ msgstr "Seleccionar fila"
66
66
 
67
67
  msgctxt "Label for the table row dropdown button."
68
68
  msgid "Row"
@@ -110,11 +110,11 @@ msgstr ""
110
110
 
111
111
  msgctxt "The label describing a group of border–related form fields (border style, color, etc.)."
112
112
  msgid "Border"
113
- msgstr ""
113
+ msgstr "Borde"
114
114
 
115
115
  msgctxt "The label for the dropdown that allows configuring the border style of a table or a table cell."
116
116
  msgid "Style"
117
- msgstr ""
117
+ msgstr "Estilo"
118
118
 
119
119
  msgctxt "The label for the input that allows configuring the width of a table or a table cell or the width of a border."
120
120
  msgid "Width"
@@ -126,7 +126,7 @@ msgstr ""
126
126
 
127
127
  msgctxt "The label for the input that allows configuring the border color of a table or a table cell."
128
128
  msgid "Color"
129
- msgstr ""
129
+ msgstr "Color"
130
130
 
131
131
  msgctxt "The label for the input that allows configuring the background color of a table or a table cell."
132
132
  msgid "Background"
@@ -138,7 +138,7 @@ msgstr ""
138
138
 
139
139
  msgctxt "The label describing a group of form fields that allows setting dimensions of a table or a table cell."
140
140
  msgid "Dimensions"
141
- msgstr ""
141
+ msgstr "Dimensiones"
142
142
 
143
143
  msgctxt "The label for the group of toolbars that allows configuring the text alignment in a table cell."
144
144
  msgid "Table cell text alignment"
@@ -166,7 +166,7 @@ msgstr ""
166
166
 
167
167
  msgctxt "The label for the border style dropdown when the solid border is applied to a table or a table cell."
168
168
  msgid "Solid"
169
- msgstr ""
169
+ msgstr "Sólido"
170
170
 
171
171
  msgctxt "The label for the border style dropdown when the dotted border is applied to a table or a table cell."
172
172
  msgid "Dotted"
@@ -178,7 +178,7 @@ msgstr ""
178
178
 
179
179
  msgctxt "The label for the border style dropdown when the double border is applied to a table or a table cell."
180
180
  msgid "Double"
181
- msgstr ""
181
+ msgstr "Doble"
182
182
 
183
183
  msgctxt "The label for the border style dropdown when the groove border is applied to a table or a table cell."
184
184
  msgid "Groove"
@@ -226,15 +226,15 @@ msgstr ""
226
226
 
227
227
  msgctxt "The label used by assistive technologies describing a button that aligns the table to the left."
228
228
  msgid "Align table to the left"
229
- msgstr ""
229
+ msgstr "Alinear tabla a la izquierda"
230
230
 
231
231
  msgctxt "The label used by assistive technologies describing a button that centers the table."
232
232
  msgid "Center table"
233
- msgstr ""
233
+ msgstr "Centrar tabla"
234
234
 
235
235
  msgctxt "The label used by assistive technologies describing a button that aligns the table to the right."
236
236
  msgid "Align table to the right"
237
- msgstr ""
237
+ msgstr "Alinear tabla a la derecha"
238
238
 
239
239
  msgctxt "The localized error string that can be displayed next to color (background, border) fields that have an invalid value"
240
240
  msgid "The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\"."
@@ -162,23 +162,23 @@ msgstr ""
162
162
 
163
163
  msgctxt "The label for the border style dropdown when no style is applied to a table or a table cell."
164
164
  msgid "None"
165
- msgstr ""
165
+ msgstr "Tidak ada"
166
166
 
167
167
  msgctxt "The label for the border style dropdown when the solid border is applied to a table or a table cell."
168
168
  msgid "Solid"
169
- msgstr ""
169
+ msgstr "Garis utuh"
170
170
 
171
171
  msgctxt "The label for the border style dropdown when the dotted border is applied to a table or a table cell."
172
172
  msgid "Dotted"
173
- msgstr ""
173
+ msgstr "Titik titik"
174
174
 
175
175
  msgctxt "The label for the border style dropdown when the dashed border is applied to a table or a table cell."
176
176
  msgid "Dashed"
177
- msgstr ""
177
+ msgstr "Garis putus-putus"
178
178
 
179
179
  msgctxt "The label for the border style dropdown when the double border is applied to a table or a table cell."
180
180
  msgid "Double"
181
- msgstr ""
181
+ msgstr "Ganda"
182
182
 
183
183
  msgctxt "The label for the border style dropdown when the groove border is applied to a table or a table cell."
184
184
  msgid "Groove"
@@ -238,11 +238,11 @@ msgstr ""
238
238
 
239
239
  msgctxt "The localized error string that can be displayed next to color (background, border) fields that have an invalid value"
240
240
  msgid "The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\"."
241
- msgstr ""
241
+ msgstr "Warna tidak valid. Coba \"#FF0000\" atau \"rgb(255,0,0)\" atau \"red\"."
242
242
 
243
243
  msgctxt "The localized error string that can be displayed next to length (padding, border width) fields that have an invalid value."
244
244
  msgid "The value is invalid. Try \"10px\" or \"2em\" or simply \"2\"."
245
- msgstr ""
245
+ msgstr "Nilai tidak valid. Coba \"10px\" atau \"2em\" atau hanya \"2\"."
246
246
 
247
247
  msgctxt "The label used by assistive technologies describing a button that opens a color picker, where user can choose a configured color for a certain properties (eg.: background color, color, border-color etc.)."
248
248
  msgid "Color picker"
@@ -250,12 +250,12 @@ msgstr ""
250
250
 
251
251
  msgctxt "The button label for the table toolbar hiding caption attached to the table."
252
252
  msgid "Toggle caption off"
253
- msgstr ""
253
+ msgstr "Sembunyikan keterangan"
254
254
 
255
255
  msgctxt "The button label for the table toolbar showing caption attached to the table."
256
256
  msgid "Toggle caption on"
257
- msgstr ""
257
+ msgstr "Tampilkan keterangan"
258
258
 
259
259
  msgctxt "The placeholder text for the table caption displayed when the caption is empty."
260
260
  msgid "Enter table caption"
261
- msgstr ""
261
+ msgstr "Masukkan keterangan tabel"
@@ -250,12 +250,12 @@ msgstr "Seletor de cor"
250
250
 
251
251
  msgctxt "The button label for the table toolbar hiding caption attached to the table."
252
252
  msgid "Toggle caption off"
253
- msgstr ""
253
+ msgstr "Desabilitar legenda"
254
254
 
255
255
  msgctxt "The button label for the table toolbar showing caption attached to the table."
256
256
  msgid "Toggle caption on"
257
- msgstr ""
257
+ msgstr "Habilitar legenda"
258
258
 
259
259
  msgctxt "The placeholder text for the table caption displayed when the caption is empty."
260
260
  msgid "Enter table caption"
261
- msgstr ""
261
+ msgstr "Inserir legenda da tabela"
@@ -0,0 +1,261 @@
1
+ # Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Uzbek (https://www.transifex.com/ckeditor/teams/11143/uz/)\n"
16
+ "Language: uz\n"
17
+ "Plural-Forms: nplurals=1; plural=0;\n"
18
+
19
+ msgctxt "Label for the insert table toolbar button."
20
+ msgid "Insert table"
21
+ msgstr "Jadvalni kiritish"
22
+
23
+ msgctxt "Label for the set/unset table header column button."
24
+ msgid "Header column"
25
+ msgstr "Ustun sarlavhalari"
26
+
27
+ msgctxt "Label for the insert table column to the left of the current one button."
28
+ msgid "Insert column left"
29
+ msgstr "Ustunni chapga kiritish"
30
+
31
+ msgctxt "Label for the insert table column to the right of the current one button."
32
+ msgid "Insert column right"
33
+ msgstr "Ustunni o'ngga kiritish"
34
+
35
+ msgctxt "Label for the delete table column button."
36
+ msgid "Delete column"
37
+ msgstr "Ustunni o'chirish"
38
+
39
+ msgctxt "Label for the select the entire table column button."
40
+ msgid "Select column"
41
+ msgstr "Ustunni tanlash"
42
+
43
+ msgctxt "Label for the table column dropdown button."
44
+ msgid "Column"
45
+ msgstr "Ustun"
46
+
47
+ msgctxt "Label for the set/unset table header row button."
48
+ msgid "Header row"
49
+ msgstr "Sarlavhalar satri"
50
+
51
+ msgctxt "Label for the insert row below button."
52
+ msgid "Insert row below"
53
+ msgstr "Pastga qatorni kiritish"
54
+
55
+ msgctxt "Label for the insert row above button."
56
+ msgid "Insert row above"
57
+ msgstr "Yuqoriga qatorni kiritish"
58
+
59
+ msgctxt "Label for the delete table row button."
60
+ msgid "Delete row"
61
+ msgstr "Satrni o'chirish"
62
+
63
+ msgctxt "Label for the select the entire table row button."
64
+ msgid "Select row"
65
+ msgstr "Satrni tanlang"
66
+
67
+ msgctxt "Label for the table row dropdown button."
68
+ msgid "Row"
69
+ msgstr "Satr"
70
+
71
+ msgctxt "Label for the merge table cell up button."
72
+ msgid "Merge cell up"
73
+ msgstr "Yuqoridagi katak bilan birlashtirish"
74
+
75
+ msgctxt "Label for the merge table cell right button."
76
+ msgid "Merge cell right"
77
+ msgstr "O'ngdagi katakcha bilan birlashtirish"
78
+
79
+ msgctxt "Label for the merge table cell down button."
80
+ msgid "Merge cell down"
81
+ msgstr "Pastdagi katak bilan birlashtirish"
82
+
83
+ msgctxt "Label for the merge table cell left button."
84
+ msgid "Merge cell left"
85
+ msgstr "Chapdagi katakcha bilan birlashtirish"
86
+
87
+ msgctxt "Label for the split table cell vertically button."
88
+ msgid "Split cell vertically"
89
+ msgstr "Hujayrani vertikal ravishda ajratish"
90
+
91
+ msgctxt "Label for the split table cell horizontally button."
92
+ msgid "Split cell horizontally"
93
+ msgstr "Hujayrani gorizontal ravishda ajratish"
94
+
95
+ msgctxt "Label for the merge table cells button."
96
+ msgid "Merge cells"
97
+ msgstr "Hujayralarni birlashtirish"
98
+
99
+ msgctxt "The label used by assistive technologies describing a table toolbar attached to a table widget."
100
+ msgid "Table toolbar"
101
+ msgstr "Jadval asboblar paneli"
102
+
103
+ msgctxt "The label describing the form allowing to specify the properties of a selected table."
104
+ msgid "Table properties"
105
+ msgstr "Jadvalning xususiyatlari"
106
+
107
+ msgctxt "The label describing the form allowing to specify the properties of a selected table cell."
108
+ msgid "Cell properties"
109
+ msgstr "Hujayra xususiyatlari"
110
+
111
+ msgctxt "The label describing a group of border–related form fields (border style, color, etc.)."
112
+ msgid "Border"
113
+ msgstr "Chegara"
114
+
115
+ msgctxt "The label for the dropdown that allows configuring the border style of a table or a table cell."
116
+ msgid "Style"
117
+ msgstr "Uslub"
118
+
119
+ msgctxt "The label for the input that allows configuring the width of a table or a table cell or the width of a border."
120
+ msgid "Width"
121
+ msgstr "Kengligi"
122
+
123
+ msgctxt "The label for the input that allows configuring the height of a table or a table cell."
124
+ msgid "Height"
125
+ msgstr "Balandligi"
126
+
127
+ msgctxt "The label for the input that allows configuring the border color of a table or a table cell."
128
+ msgid "Color"
129
+ msgstr "Rang"
130
+
131
+ msgctxt "The label for the input that allows configuring the background color of a table or a table cell."
132
+ msgid "Background"
133
+ msgstr "Fon"
134
+
135
+ msgctxt "The label for the input that allows configuring the padding of a table cell."
136
+ msgid "Padding"
137
+ msgstr "Chekinish"
138
+
139
+ msgctxt "The label describing a group of form fields that allows setting dimensions of a table or a table cell."
140
+ msgid "Dimensions"
141
+ msgstr "O'lchamlar"
142
+
143
+ msgctxt "The label for the group of toolbars that allows configuring the text alignment in a table cell."
144
+ msgid "Table cell text alignment"
145
+ msgstr "Jadval katakchasidagi matnni tekislash"
146
+
147
+ msgctxt "The label for the toolbar that allows configuring the alignment of a table."
148
+ msgid "Alignment"
149
+ msgstr "Tekislash"
150
+
151
+ msgctxt "The label used by assistive technologies describing a toolbar that allows configuring the horizontal text alignment in a table cell."
152
+ msgid "Horizontal text alignment toolbar"
153
+ msgstr "Matnni gorizontal tekislash asboblar paneli"
154
+
155
+ msgctxt "The label used by assistive technologies describing a toolbar that allows configuring the vertical text alignment in a table cell."
156
+ msgid "Vertical text alignment toolbar"
157
+ msgstr "Vertikal matnni tekislash asboblar paneli"
158
+
159
+ msgctxt "The label used by assistive technologies describing a toolbar that allows configuring the alignment of a table."
160
+ msgid "Table alignment toolbar"
161
+ msgstr "Jadvalni tekislash asboblar paneli"
162
+
163
+ msgctxt "The label for the border style dropdown when no style is applied to a table or a table cell."
164
+ msgid "None"
165
+ msgstr "Yo'q"
166
+
167
+ msgctxt "The label for the border style dropdown when the solid border is applied to a table or a table cell."
168
+ msgid "Solid"
169
+ msgstr "Qattiq"
170
+
171
+ msgctxt "The label for the border style dropdown when the dotted border is applied to a table or a table cell."
172
+ msgid "Dotted"
173
+ msgstr "Nuqta"
174
+
175
+ msgctxt "The label for the border style dropdown when the dashed border is applied to a table or a table cell."
176
+ msgid "Dashed"
177
+ msgstr "Nuqtali"
178
+
179
+ msgctxt "The label for the border style dropdown when the double border is applied to a table or a table cell."
180
+ msgid "Double"
181
+ msgstr "Ikkitalik"
182
+
183
+ msgctxt "The label for the border style dropdown when the groove border is applied to a table or a table cell."
184
+ msgid "Groove"
185
+ msgstr "Yivli"
186
+
187
+ msgctxt "The label for the border style dropdown when the ridge border is applied to a table or a table cell."
188
+ msgid "Ridge"
189
+ msgstr "Qirrali"
190
+
191
+ msgctxt "The label for the border style dropdown when the inset border is applied to a table or a table cell."
192
+ msgid "Inset"
193
+ msgstr "Tushkunlikka tushgan"
194
+
195
+ msgctxt "The label for the border style dropdown when the outset border is applied to a table or a table cell."
196
+ msgid "Outset"
197
+ msgstr "Qavariq"
198
+
199
+ msgctxt "The label used by assistive technologies describing a button that aligns the table cell text to the left."
200
+ msgid "Align cell text to the left"
201
+ msgstr "Matnni chapga tekislash"
202
+
203
+ msgctxt "The label used by assistive technologies describing a button that aligns the table cell text to the center."
204
+ msgid "Align cell text to the center"
205
+ msgstr "Matnni markazga tekislash"
206
+
207
+ msgctxt "The label used by assistive technologies describing a button that aligns the table cell text to the right."
208
+ msgid "Align cell text to the right"
209
+ msgstr "Matnni o'ngga tekislash"
210
+
211
+ msgctxt "The label used by assistive technologies describing a button that justifies the table cell text."
212
+ msgid "Justify cell text"
213
+ msgstr "Matnni kenglikka tekislash"
214
+
215
+ msgctxt "The label used by assistive technologies describing a button that aligns the table cell text to the top."
216
+ msgid "Align cell text to the top"
217
+ msgstr "Hujayra matnini tepaga tekislash"
218
+
219
+ msgctxt "The label used by assistive technologies describing a button that aligns the table cell text to the middle."
220
+ msgid "Align cell text to the middle"
221
+ msgstr "Hujayra matnini markazga tekislash"
222
+
223
+ msgctxt "The label used by assistive technologies describing a button that aligns the table cell text to the bottom."
224
+ msgid "Align cell text to the bottom"
225
+ msgstr "Hujayra matnini pastga tekislash"
226
+
227
+ msgctxt "The label used by assistive technologies describing a button that aligns the table to the left."
228
+ msgid "Align table to the left"
229
+ msgstr "Jadvalni chap tomonga tekislash"
230
+
231
+ msgctxt "The label used by assistive technologies describing a button that centers the table."
232
+ msgid "Center table"
233
+ msgstr "Jadvalni markazga tekislash"
234
+
235
+ msgctxt "The label used by assistive technologies describing a button that aligns the table to the right."
236
+ msgid "Align table to the right"
237
+ msgstr "Jadvalni o'ngga tekislash"
238
+
239
+ msgctxt "The localized error string that can be displayed next to color (background, border) fields that have an invalid value"
240
+ msgid "The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\"."
241
+ msgstr "Noto'g'ri rang. \\ \"# FF0000 \\\" yoki \\ \"rgb (255,0,0) \\\" yoki \\ \"red \\\" ni sinab ko'ring."
242
+
243
+ msgctxt "The localized error string that can be displayed next to length (padding, border width) fields that have an invalid value."
244
+ msgid "The value is invalid. Try \"10px\" or \"2em\" or simply \"2\"."
245
+ msgstr "Noto'g'ri qiymat. \\ \"10px \\\" yoki \\ \"2em \\\" yoki shunchaki \\ \"2 \\\" ni sinab ko'ring."
246
+
247
+ msgctxt "The label used by assistive technologies describing a button that opens a color picker, where user can choose a configured color for a certain properties (eg.: background color, color, border-color etc.)."
248
+ msgid "Color picker"
249
+ msgstr "Rang tanlash"
250
+
251
+ msgctxt "The button label for the table toolbar hiding caption attached to the table."
252
+ msgid "Toggle caption off"
253
+ msgstr ""
254
+
255
+ msgctxt "The button label for the table toolbar showing caption attached to the table."
256
+ msgid "Toggle caption on"
257
+ msgstr ""
258
+
259
+ msgctxt "The placeholder text for the table caption displayed when the caption is empty."
260
+ msgid "Enter table caption"
261
+ msgstr ""
@@ -250,12 +250,12 @@ msgstr "顏色選擇"
250
250
 
251
251
  msgctxt "The button label for the table toolbar hiding caption attached to the table."
252
252
  msgid "Toggle caption off"
253
- msgstr ""
253
+ msgstr "關閉表標題"
254
254
 
255
255
  msgctxt "The button label for the table toolbar showing caption attached to the table."
256
256
  msgid "Toggle caption on"
257
- msgstr ""
257
+ msgstr "開啟表標題"
258
258
 
259
259
  msgctxt "The placeholder text for the table caption displayed when the caption is empty."
260
260
  msgid "Enter table caption"
261
- msgstr ""
261
+ msgstr "輸入表標題"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-table",
3
- "version": "31.0.0",
3
+ "version": "31.1.0",
4
4
  "description": "Table feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,29 +12,29 @@
12
12
  ],
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "ckeditor5": "^31.0.0",
15
+ "ckeditor5": "^31.1.0",
16
16
  "lodash-es": "^4.17.15"
17
17
  },
18
18
  "devDependencies": {
19
- "@ckeditor/ckeditor5-alignment": "^31.0.0",
20
- "@ckeditor/ckeditor5-block-quote": "^31.0.0",
21
- "@ckeditor/ckeditor5-clipboard": "^31.0.0",
22
- "@ckeditor/ckeditor5-core": "^31.0.0",
23
- "@ckeditor/ckeditor5-dev-utils": "^25.4.0",
24
- "@ckeditor/ckeditor5-editor-classic": "^31.0.0",
25
- "@ckeditor/ckeditor5-engine": "^31.0.0",
26
- "@ckeditor/ckeditor5-horizontal-line": "^31.0.0",
27
- "@ckeditor/ckeditor5-image": "^31.0.0",
28
- "@ckeditor/ckeditor5-indent": "^31.0.0",
29
- "@ckeditor/ckeditor5-list": "^31.0.0",
30
- "@ckeditor/ckeditor5-media-embed": "^31.0.0",
31
- "@ckeditor/ckeditor5-paragraph": "^31.0.0",
32
- "@ckeditor/ckeditor5-theme-lark": "^31.0.0",
33
- "@ckeditor/ckeditor5-typing": "^31.0.0",
34
- "@ckeditor/ckeditor5-ui": "^31.0.0",
35
- "@ckeditor/ckeditor5-undo": "^31.0.0",
36
- "@ckeditor/ckeditor5-utils": "^31.0.0",
37
- "@ckeditor/ckeditor5-widget": "^31.0.0",
19
+ "@ckeditor/ckeditor5-alignment": "^31.1.0",
20
+ "@ckeditor/ckeditor5-block-quote": "^31.1.0",
21
+ "@ckeditor/ckeditor5-clipboard": "^31.1.0",
22
+ "@ckeditor/ckeditor5-core": "^31.1.0",
23
+ "@ckeditor/ckeditor5-dev-utils": "^26.0.0",
24
+ "@ckeditor/ckeditor5-editor-classic": "^31.1.0",
25
+ "@ckeditor/ckeditor5-engine": "^31.1.0",
26
+ "@ckeditor/ckeditor5-horizontal-line": "^31.1.0",
27
+ "@ckeditor/ckeditor5-image": "^31.1.0",
28
+ "@ckeditor/ckeditor5-indent": "^31.1.0",
29
+ "@ckeditor/ckeditor5-list": "^31.1.0",
30
+ "@ckeditor/ckeditor5-media-embed": "^31.1.0",
31
+ "@ckeditor/ckeditor5-paragraph": "^31.1.0",
32
+ "@ckeditor/ckeditor5-theme-lark": "^31.1.0",
33
+ "@ckeditor/ckeditor5-typing": "^31.1.0",
34
+ "@ckeditor/ckeditor5-ui": "^31.1.0",
35
+ "@ckeditor/ckeditor5-undo": "^31.1.0",
36
+ "@ckeditor/ckeditor5-utils": "^31.1.0",
37
+ "@ckeditor/ckeditor5-widget": "^31.1.0",
38
38
  "json-diff": "^0.5.4",
39
39
  "webpack": "^4.43.0",
40
40
  "webpack-cli": "^3.3.11"
@@ -47,12 +47,13 @@ export function upcastStyleToAttribute( conversion, options ) {
47
47
  *
48
48
  * @param {module:engine/conversion/conversion~Conversion} conversion
49
49
  * @param {String} viewElementName
50
+ * @param {Object} modelAttributes
50
51
  * @param {Object} defaultBorder The default border values.
51
52
  * @param {String} defaultBorder.color The default `borderColor` value.
52
53
  * @param {String} defaultBorder.style The default `borderStyle` value.
53
54
  * @param {String} defaultBorder.width The default `borderWidth` value.
54
55
  */
55
- export function upcastBorderStyles( conversion, viewElementName, defaultBorder ) {
56
+ export function upcastBorderStyles( conversion, viewElementName, modelAttributes, defaultBorder ) {
56
57
  conversion.for( 'upcast' ).add( dispatcher => dispatcher.on( 'element:' + viewElementName, ( evt, data, conversionApi ) => {
57
58
  // If the element was not converted by element-to-element converter,
58
59
  // we should not try to convert the style. See #8393.
@@ -107,15 +108,15 @@ export function upcastBorderStyles( conversion, viewElementName, defaultBorder )
107
108
  };
108
109
 
109
110
  if ( reducedBorder.style !== defaultBorder.style ) {
110
- conversionApi.writer.setAttribute( 'borderStyle', reducedBorder.style, modelElement );
111
+ conversionApi.writer.setAttribute( modelAttributes.style, reducedBorder.style, modelElement );
111
112
  }
112
113
 
113
114
  if ( reducedBorder.color !== defaultBorder.color ) {
114
- conversionApi.writer.setAttribute( 'borderColor', reducedBorder.color, modelElement );
115
+ conversionApi.writer.setAttribute( modelAttributes.color, reducedBorder.color, modelElement );
115
116
  }
116
117
 
117
118
  if ( reducedBorder.width !== defaultBorder.width ) {
118
- conversionApi.writer.setAttribute( 'borderWidth', reducedBorder.width, modelElement );
119
+ conversionApi.writer.setAttribute( modelAttributes.width, reducedBorder.width, modelElement );
119
120
  }
120
121
  } ) );
121
122
  }
@@ -37,6 +37,9 @@ export function upcastTableFigure() {
37
37
  return;
38
38
  }
39
39
 
40
+ // Consume the figure to prevent other converters from processing it again.
41
+ conversionApi.consumable.consume( data.viewItem, { name: true, classes: 'table' } );
42
+
40
43
  // Convert view table to model table.
41
44
  const conversionResult = conversionApi.convertItem( viewTable, data.modelCursor );
42
45
 
@@ -45,11 +48,12 @@ export function upcastTableFigure() {
45
48
 
46
49
  // When table wasn't successfully converted then finish conversion.
47
50
  if ( !modelTable ) {
51
+ // Revert consumed figure so other features can convert it.
52
+ conversionApi.consumable.revert( data.viewItem, { name: true, classes: 'table' } );
53
+
48
54
  return;
49
55
  }
50
56
 
51
- conversionApi.consumable.consume( data.viewItem, { name: true, classes: 'table' } );
52
-
53
57
  conversionApi.convertChildren( data.viewItem, conversionApi.writer.createPositionAt( modelTable, 'end' ) );
54
58
  conversionApi.updateConversionResult( modelTable, data );
55
59
  } );
@@ -31,6 +31,6 @@ export default class TableCellBackgroundColorCommand extends TableCellPropertyCo
31
31
  * @param {String} defaultValue The default value of the attribute.
32
32
  */
33
33
  constructor( editor, defaultValue ) {
34
- super( editor, 'backgroundColor', defaultValue );
34
+ super( editor, 'tableCellBackgroundColor', defaultValue );
35
35
  }
36
36
  }