@ckeditor/ckeditor5-table 29.2.0 → 30.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.
@@ -1 +1 @@
1
- !function(e){const l=e.nl=e.nl||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"","Align cell text to the center":"Tekst in de cel centreren","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:"Uitlijning",Background:"Achtergrond",Border:"Rand","Cell properties":"Celeigenschappen","Center table":"Tabel centreren",Color:"Kleur","Color picker":"",Column:"Kolom",Dashed:"","Delete column":"Verwijder kolom","Delete row":"Verwijder rij",Dimensions:"",Dotted:"Stippellijn",Double:"Dubbel","Enter table caption":"",Groove:"","Header column":"Titel kolom","Header row":"Titel rij",Height:"Hoogte","Horizontal text alignment toolbar":"","Insert column left":"Kolom links invoegen","Insert column right":"Kolom rechts invoegen","Insert row above":"Rij hierboven invoegen","Insert row below":"Rij hieronder invoegen","Insert table":"Tabel invoegen",Inset:"","Justify cell text":"","Merge cell down":"Cel hieronder samenvoegen","Merge cell left":"Cel hiervoor samenvoegen","Merge cell right":"Cel hierna samenvoegen","Merge cell up":"Cel hierboven samenvoegen","Merge cells":"Cellen samenvoegen",None:"Geen",Outset:"",Padding:"",Ridge:"",Row:"Rij","Select column":"","Select row":"",Solid:"","Split cell horizontally":"Splits cel horizontaal","Split cell vertically":"Splits cel verticaal",Style:"Stijl","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"Tabeleigenschappen","Table toolbar":"Tabel werkbalk",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'De kleur in niet correct, probeer "#FF0000" of "rgb(255,0,0)" of "red".','The value is invalid. Try "10px" or "2em" or simply "2".':"","Toggle caption off":"","Toggle caption on":"","Vertical text alignment toolbar":"",Width:"Breedte"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(e){const l=e.nl=e.nl||{};l.dictionary=Object.assign(l.dictionary||{},{"Align cell text to the bottom":"","Align cell text to the center":"Tekst in de cel centreren","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:"Uitlijning",Background:"Achtergrond",Border:"Rand","Cell properties":"Celeigenschappen","Center table":"Tabel centreren",Color:"Kleur","Color picker":"",Column:"Kolom",Dashed:"","Delete column":"Verwijder kolom","Delete row":"Verwijder rij",Dimensions:"",Dotted:"Stippellijn",Double:"Dubbel","Enter table caption":"",Groove:"","Header column":"Titel kolom","Header row":"Titel rij",Height:"Hoogte","Horizontal text alignment toolbar":"","Insert column left":"Kolom links invoegen","Insert column right":"Kolom rechts invoegen","Insert row above":"Rij hierboven invoegen","Insert row below":"Rij hieronder invoegen","Insert table":"Tabel invoegen",Inset:"","Justify cell text":"","Merge cell down":"Cel hieronder samenvoegen","Merge cell left":"Cel hiervoor samenvoegen","Merge cell right":"Cel hierna samenvoegen","Merge cell up":"Cel hierboven samenvoegen","Merge cells":"Cellen samenvoegen",None:"Geen",Outset:"",Padding:"",Ridge:"",Row:"Rij","Select column":"Selecteer kolom","Select row":"Selecteer rij",Solid:"","Split cell horizontally":"Splits cel horizontaal","Split cell vertically":"Splits cel verticaal",Style:"Stijl","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"Tabeleigenschappen","Table toolbar":"Tabel werkbalk",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'De kleur in niet correct, probeer "#FF0000" of "rgb(255,0,0)" of "red".','The value is invalid. Try "10px" or "2em" or simply "2".':"","Toggle caption off":"","Toggle caption on":"","Vertical text alignment toolbar":"",Width:"Breedte"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(e){const a=e["sr-latn"]=e["sr-latn"]||{};a.dictionary=Object.assign(a.dictionary||{},{"Align cell text to the bottom":"Poravnajte tekst ćelije prema dole","Align cell text to the center":"Poravnajte tekst ćelije u sredinu","Align cell text to the left":"Poravnajte tekst ćelije levo","Align cell text to the middle":"Poravnajte tekst ćelije u sredinu","Align cell text to the right":"Poravnajte tekst ćelije desno","Align cell text to the top":"Poravnajte tekst ćelije prema gore","Align table to the left":"Poravnajte tabelu na levu stranu","Align table to the right":"Poravnajte tabelu na desnu stranu",Alignment:"Poravnanje",Background:"Pozadina",Border:"Granica","Cell properties":"Svojstva ćelije","Center table":"Centar tabele",Color:"Boja","Color picker":"Birač boja",Column:"Kolona",Dashed:"Razbijeno","Delete column":"Briši kolonu","Delete row":"Briši red",Dimensions:"Dimenzija",Dotted:"Sa tačkama",Double:"Dvostruki","Enter table caption":"",Groove:"Kolosek","Header column":"Kolona za zaglavlje","Header row":"Red za zaglavlje",Height:"Visina","Horizontal text alignment toolbar":"Horizontalna traka sa alatkama za poravnavanje teksta","Insert column left":"Dodaj kolonu levo","Insert column right":"Dodaj kolonu desno","Insert row above":"Dodaj red iznad","Insert row below":"Dodaj red ispod","Insert table":"Dodaj tabelu",Inset:"Prilog","Justify cell text":"Opravdajte tekst ćelije","Merge cell down":"Spoj ćelije na dole","Merge cell left":"Spoj ćelije na levo","Merge cell right":"Spoj ćelije na desno","Merge cell up":"Spoj ćelije na gore","Merge cells":"Spoj ćelije",None:"Nijedan",Outset:"Početak",Padding:"Postavljanje",Ridge:"Greben",Row:"Red","Select column":"Odaberi kolonu","Select row":"Odaberi red",Solid:"Čvrst","Split cell horizontally":"Deli ćelije vodoravno","Split cell vertically":"Deli ćelije uspravno",Style:"Stil","Table alignment toolbar":"Traka sa alatkama za poravnavanje tabele","Table cell text alignment":"Poravnaj tekst u tabeli","Table properties":"Svojstva tabele","Table toolbar":"Tabela traka sa alatkama",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Boja je nevažeća. Pokušajte sa "# FF0000" ili "rgb (255,0,0)" ili "crvena".','The value is invalid. Try "10px" or "2em" or simply "2".':"Vrednost je nevažeća. Pokušajte sa „10pk“ ili „2em“ ili jednostavno „2“.","Toggle caption off":"","Toggle caption on":"","Vertical text alignment toolbar":"Vertikalna traka sa alatkama za poravnavanje teksta",Width:"Širina"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(e){const a=e["sr-latn"]=e["sr-latn"]||{};a.dictionary=Object.assign(a.dictionary||{},{"Align cell text to the bottom":"Poravnajte tekst ćelije prema dole","Align cell text to the center":"Poravnajte tekst ćelije u sredinu","Align cell text to the left":"Poravnajte tekst ćelije levo","Align cell text to the middle":"Poravnajte tekst ćelije u sredinu","Align cell text to the right":"Poravnajte tekst ćelije desno","Align cell text to the top":"Poravnajte tekst ćelije prema gore","Align table to the left":"Poravnajte tabelu na levu stranu","Align table to the right":"Poravnajte tabelu na desnu stranu",Alignment:"Poravnanje",Background:"Pozadina",Border:"Granica","Cell properties":"Svojstva ćelije","Center table":"Centar tabele",Color:"Boja","Color picker":"Birač boja",Column:"Kolona",Dashed:"Razbijeno","Delete column":"Briši kolonu","Delete row":"Briši red",Dimensions:"Dimenzija",Dotted:"Sa tačkama",Double:"Dvostruki","Enter table caption":"Unesite naslov tabele",Groove:"Kolosek","Header column":"Kolona za zaglavlje","Header row":"Red za zaglavlje",Height:"Visina","Horizontal text alignment toolbar":"Horizontalna traka sa alatkama za poravnavanje teksta","Insert column left":"Dodaj kolonu levo","Insert column right":"Dodaj kolonu desno","Insert row above":"Dodaj red iznad","Insert row below":"Dodaj red ispod","Insert table":"Dodaj tabelu",Inset:"Prilog","Justify cell text":"Opravdajte tekst ćelije","Merge cell down":"Spoj ćelije na dole","Merge cell left":"Spoj ćelije na levo","Merge cell right":"Spoj ćelije na desno","Merge cell up":"Spoj ćelije na gore","Merge cells":"Spoj ćelije",None:"Nijedan",Outset:"Početak",Padding:"Postavljanje",Ridge:"Greben",Row:"Red","Select column":"Odaberi kolonu","Select row":"Odaberi red",Solid:"Čvrst","Split cell horizontally":"Deli ćelije vodoravno","Split cell vertically":"Deli ćelije uspravno",Style:"Stil","Table alignment toolbar":"Traka sa alatkama za poravnavanje tabele","Table cell text alignment":"Poravnaj tekst u tabeli","Table properties":"Svojstva tabele","Table toolbar":"Tabela traka sa alatkama",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'Boja je nevažeća. Pokušajte sa "# FF0000" ili "rgb (255,0,0)" ili "crvena".','The value is invalid. Try "10px" or "2em" or simply "2".':"Vrednost je nevažeća. Pokušajte sa „10pk“ ili „2em“ ili jednostavno „2“.","Toggle caption off":"Isključivanje natpisa","Toggle caption on":"Uključite naslov","Vertical text alignment toolbar":"Vertikalna traka sa alatkama za poravnavanje teksta",Width:"Širina"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1 +1 @@
1
- !function(e){const t=e.sr=e.sr||{};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":"Cпој ћелије на лево","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)" или "црвена".','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.sr=e.sr||{};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":"Cпој ћелије на лево","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)" или "црвена".','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 "Verwijder kolom"
38
38
 
39
39
  msgctxt "Label for the select the entire table column button."
40
40
  msgid "Select column"
41
- msgstr ""
41
+ msgstr "Selecteer kolom"
42
42
 
43
43
  msgctxt "Label for the table column dropdown button."
44
44
  msgid "Column"
@@ -62,7 +62,7 @@ msgstr "Verwijder rij"
62
62
 
63
63
  msgctxt "Label for the select the entire table row button."
64
64
  msgid "Select row"
65
- msgstr ""
65
+ msgstr "Selecteer rij"
66
66
 
67
67
  msgctxt "Label for the table row dropdown button."
68
68
  msgid "Row"
@@ -250,12 +250,12 @@ msgstr "Birač boja"
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 "Isključivanje natpisa"
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 "Uključite naslov"
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 "Unesite naslov tabele"
@@ -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": "29.2.0",
3
+ "version": "30.0.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": "^29.2.0",
15
+ "ckeditor5": "^30.0.0",
16
16
  "lodash-es": "^4.17.15"
17
17
  },
18
18
  "devDependencies": {
19
- "@ckeditor/ckeditor5-alignment": "^29.2.0",
20
- "@ckeditor/ckeditor5-block-quote": "^29.2.0",
21
- "@ckeditor/ckeditor5-clipboard": "^29.2.0",
22
- "@ckeditor/ckeditor5-core": "^29.2.0",
19
+ "@ckeditor/ckeditor5-alignment": "^30.0.0",
20
+ "@ckeditor/ckeditor5-block-quote": "^30.0.0",
21
+ "@ckeditor/ckeditor5-clipboard": "^30.0.0",
22
+ "@ckeditor/ckeditor5-core": "^30.0.0",
23
23
  "@ckeditor/ckeditor5-dev-utils": "^25.4.0",
24
- "@ckeditor/ckeditor5-editor-classic": "^29.2.0",
25
- "@ckeditor/ckeditor5-engine": "^29.2.0",
26
- "@ckeditor/ckeditor5-horizontal-line": "^29.2.0",
27
- "@ckeditor/ckeditor5-image": "^29.2.0",
28
- "@ckeditor/ckeditor5-indent": "^29.2.0",
29
- "@ckeditor/ckeditor5-list": "^29.2.0",
30
- "@ckeditor/ckeditor5-media-embed": "^29.2.0",
31
- "@ckeditor/ckeditor5-paragraph": "^29.2.0",
32
- "@ckeditor/ckeditor5-theme-lark": "^29.2.0",
33
- "@ckeditor/ckeditor5-typing": "^29.2.0",
34
- "@ckeditor/ckeditor5-ui": "^29.2.0",
35
- "@ckeditor/ckeditor5-undo": "^29.2.0",
36
- "@ckeditor/ckeditor5-utils": "^29.2.0",
37
- "@ckeditor/ckeditor5-widget": "^29.2.0",
24
+ "@ckeditor/ckeditor5-editor-classic": "^30.0.0",
25
+ "@ckeditor/ckeditor5-engine": "^30.0.0",
26
+ "@ckeditor/ckeditor5-horizontal-line": "^30.0.0",
27
+ "@ckeditor/ckeditor5-image": "^30.0.0",
28
+ "@ckeditor/ckeditor5-indent": "^30.0.0",
29
+ "@ckeditor/ckeditor5-list": "^30.0.0",
30
+ "@ckeditor/ckeditor5-media-embed": "^30.0.0",
31
+ "@ckeditor/ckeditor5-paragraph": "^30.0.0",
32
+ "@ckeditor/ckeditor5-theme-lark": "^30.0.0",
33
+ "@ckeditor/ckeditor5-typing": "^30.0.0",
34
+ "@ckeditor/ckeditor5-ui": "^30.0.0",
35
+ "@ckeditor/ckeditor5-undo": "^30.0.0",
36
+ "@ckeditor/ckeditor5-utils": "^30.0.0",
37
+ "@ckeditor/ckeditor5-widget": "^30.0.0",
38
38
  "json-diff": "^0.5.4",
39
39
  "webpack": "^4.43.0",
40
40
  "webpack-cli": "^3.3.11"
@@ -8,8 +8,7 @@
8
8
  */
9
9
 
10
10
  import TableWalker from './../tablewalker';
11
- import { setHighlightHandling, toWidget, toWidgetEditable } from 'ckeditor5/src/widget';
12
- import { toArray } from 'ckeditor5/src/utils';
11
+ import { toWidget, toWidgetEditable } from 'ckeditor5/src/widget';
13
12
 
14
13
  /**
15
14
  * Model table element to view table element conversion helper.
@@ -311,13 +310,6 @@ function renameViewTableCell( tableCell, desiredCellElementName, conversionApi )
311
310
  const editable = viewWriter.createEditableElement( desiredCellElementName, viewCell.getAttributes() );
312
311
  const renamedCell = toWidgetEditable( editable, viewWriter );
313
312
 
314
- setHighlightHandling(
315
- renamedCell,
316
- viewWriter,
317
- ( element, descriptor, writer ) => writer.addClass( toArray( descriptor.classes ), element ),
318
- ( element, descriptor, writer ) => writer.removeClass( toArray( descriptor.classes ), element )
319
- );
320
-
321
313
  viewWriter.insert( viewWriter.createPositionAfter( viewCell ), renamedCell );
322
314
  viewWriter.move( viewWriter.createRangeIn( viewCell ), viewWriter.createPositionAt( renamedCell, 0 ) );
323
315
  viewWriter.remove( viewWriter.createRangeOn( viewCell ) );
@@ -359,15 +351,6 @@ function createViewTableCellElement( tableSlot, tableAttributes, insertPosition,
359
351
  toWidgetEditable( conversionApi.writer.createEditableElement( cellElementName ), conversionApi.writer ) :
360
352
  conversionApi.writer.createContainerElement( cellElementName );
361
353
 
362
- if ( asWidget ) {
363
- setHighlightHandling(
364
- cellElement,
365
- conversionApi.writer,
366
- ( element, descriptor, writer ) => writer.addClass( toArray( descriptor.classes ), element ),
367
- ( element, descriptor, writer ) => writer.removeClass( toArray( descriptor.classes ), element )
368
- );
369
- }
370
-
371
354
  const tableCell = tableSlot.cell;
372
355
 
373
356
  const firstChild = tableCell.getChild( 0 );
@@ -29,14 +29,31 @@ function tableHeadingRowsRefreshPostFixer( model ) {
29
29
  const tablesToRefresh = new Set();
30
30
 
31
31
  for ( const change of differ.getChanges() ) {
32
- if ( change.type != 'attribute' ) {
33
- continue;
34
- }
32
+ if ( change.type === 'attribute' ) {
33
+ const element = change.range.start.nodeAfter;
34
+
35
+ if ( element && element.is( 'element', 'table' ) && change.attributeKey === 'headingRows' ) {
36
+ tablesToRefresh.add( element );
37
+ }
38
+ } else {
39
+ /* istanbul ignore else */
40
+ if ( change.type === 'insert' || change.type === 'remove' ) {
41
+ if ( change.name === 'tableRow' ) {
42
+ const table = change.position.findAncestor( 'table' );
43
+ const headingRows = table.getAttribute( 'headingRows' ) || 0;
35
44
 
36
- const element = change.range.start.nodeAfter;
45
+ if ( change.position.offset < headingRows ) {
46
+ tablesToRefresh.add( table );
47
+ }
48
+ } else if ( change.name === 'tableCell' ) {
49
+ const table = change.position.findAncestor( 'table' );
50
+ const headingColumns = table.getAttribute( 'headingColumns' ) || 0;
37
51
 
38
- if ( element && element.is( 'element', 'table' ) && change.attributeKey == 'headingRows' ) {
39
- tablesToRefresh.add( element );
52
+ if ( change.position.offset < headingColumns ) {
53
+ tablesToRefresh.add( table );
54
+ }
55
+ }
56
+ }
40
57
  }
41
58
  }
42
59
 
@@ -48,6 +48,8 @@ export function upcastTableFigure() {
48
48
  return;
49
49
  }
50
50
 
51
+ conversionApi.consumable.consume( data.viewItem, { name: true, classes: 'table' } );
52
+
51
53
  conversionApi.convertChildren( data.viewItem, conversionApi.writer.createPositionAt( modelTable, 'end' ) );
52
54
  conversionApi.updateConversionResult( modelTable, data );
53
55
  } );
@@ -799,7 +799,6 @@ export default class TableCellPropertiesView extends View {
799
799
  label: t( 'Cancel' ),
800
800
  icon: icons.cancel,
801
801
  class: 'ck-button-cancel',
802
- type: 'cancel',
803
802
  withText: true
804
803
  } );
805
804
 
@@ -218,10 +218,25 @@ export default class TableKeyboard extends Plugin {
218
218
  return false;
219
219
  }
220
220
 
221
- // Navigation is in the opposite direction than the selection direction so this is shrinking of the selection.
222
- // Selection for sure will not approach cell edge.
223
- if ( expandSelection && !selection.isCollapsed && selection.isBackward == isForward ) {
224
- return false;
221
+ // When the selection is not collapsed.
222
+ if ( !selection.isCollapsed ) {
223
+ if ( expandSelection ) {
224
+ // Navigation is in the opposite direction than the selection direction so this is shrinking of the selection.
225
+ // Selection for sure will not approach cell edge.
226
+ //
227
+ // With a special case when all cell content is selected - then selection should expand to the other cell.
228
+ // Note: When the entire cell gets selected using CTRL+A, the selection is always forward.
229
+ if ( selection.isBackward == isForward && !selection.containsEntireContent( tableCell ) ) {
230
+ return false;
231
+ }
232
+ } else {
233
+ const selectedElement = selection.getSelectedElement();
234
+
235
+ // It will collapse for non-object selected so it's not going to move to other cell.
236
+ if ( !selectedElement || !model.schema.isObject( selectedElement ) ) {
237
+ return false;
238
+ }
239
+ }
225
240
  }
226
241
 
227
242
  // Let's check if the selection is at the beginning/end of the cell.
@@ -690,7 +690,6 @@ export default class TablePropertiesView extends View {
690
690
  label: t( 'Cancel' ),
691
691
  icon: icons.cancel,
692
692
  class: 'ck-button-cancel',
693
- type: 'cancel',
694
693
  withText: true
695
694
  } );
696
695
 
@@ -7,7 +7,6 @@
7
7
  * @module table/utils/ui/contextualballoon
8
8
  */
9
9
 
10
- import { centeredBalloonPositionForLongWidgets } from 'ckeditor5/src/widget';
11
10
  import { Rect } from 'ckeditor5/src/utils';
12
11
  import { BalloonPanelView } from 'ckeditor5/src/ui';
13
12
 
@@ -21,12 +20,8 @@ const BALLOON_POSITIONS = [
21
20
  DEFAULT_BALLOON_POSITIONS.northArrowSouthEast,
22
21
  DEFAULT_BALLOON_POSITIONS.southArrowNorth,
23
22
  DEFAULT_BALLOON_POSITIONS.southArrowNorthWest,
24
- DEFAULT_BALLOON_POSITIONS.southArrowNorthEast
25
- ];
26
-
27
- const TABLE_PROPERTIES_BALLOON_POSITIONS = [
28
- ...BALLOON_POSITIONS,
29
- centeredBalloonPositionForLongWidgets
23
+ DEFAULT_BALLOON_POSITIONS.southArrowNorthEast,
24
+ DEFAULT_BALLOON_POSITIONS.viewportStickyNorth
30
25
  ];
31
26
 
32
27
  /**
@@ -69,7 +64,7 @@ export function getBalloonTablePositionData( editor ) {
69
64
 
70
65
  return {
71
66
  target: editor.editing.view.domConverter.viewToDom( viewTable ),
72
- positions: TABLE_PROPERTIES_BALLOON_POSITIONS
67
+ positions: BALLOON_POSITIONS
73
68
  };
74
69
  }
75
70
 
package/CHANGELOG.md DELETED
@@ -1,261 +0,0 @@
1
- Changelog
2
- =========
3
-
4
- All changes in the package are documented in the main repository. See: https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md.
5
-
6
- Changes for the past releases are available below.
7
-
8
- ## [19.0.0](https://github.com/ckeditor/ckeditor5-table/compare/v18.0.0...v19.0.0) (2020-04-29)
9
-
10
- ### Features
11
-
12
- * Added a "Select entire column/row" option to the table column and row dropdowns. Closes [ckeditor/ckeditor5#6500](https://github.com/ckeditor/ckeditor5/issues/6500). ([729cc00](https://github.com/ckeditor/ckeditor5-table/commit/729cc00))
13
- * Implemented a button that merges the table cells directly from the table toolbar. Closes [ckeditor/ckeditor5#6486](https://github.com/ckeditor/ckeditor5/issues/6486). ([4fd49a9](https://github.com/ckeditor/ckeditor5-table/commit/4fd49a9))
14
- * Introduced a custom keyboard navigation for tables. Closes [ckeditor/ckeditor5#3267](https://github.com/ckeditor/ckeditor5/issues/3267). Closes [ckeditor/ckeditor5#3286](https://github.com/ckeditor/ckeditor5/issues/3286). ([d480c6d](https://github.com/ckeditor/ckeditor5-table/commit/d480c6d))
15
- * Introduced the `MergeCellsCommand`. Closes [ckeditor/ckeditor5#6123](https://github.com/ckeditor/ckeditor5/issues/6123). ([a5a7d3e](https://github.com/ckeditor/ckeditor5-table/commit/a5a7d3e))
16
- * Introduced the `TableUtils.removeRows()` method. Closes [ckeditor/ckeditor5#6545](https://github.com/ckeditor/ckeditor5/issues/6545). ([c6770ba](https://github.com/ckeditor/ckeditor5-table/commit/c6770ba))
17
- * Introduced the `TableUtils.removeColumns()` method. Closes [ckeditor/ckeditor5#6546](https://github.com/ckeditor/ckeditor5/issues/6546). Closes [ckeditor/ckeditor5#6439](https://github.com/ckeditor/ckeditor5/issues/6439). ([396c6e9](https://github.com/ckeditor/ckeditor5-table/commit/396c6e9))
18
-
19
- ### Bug fixes
20
-
21
- * The `TableSelection` plugin should collapse a multi-cell selection when it gets disabled. Closes [ckeditor/ckeditor5#6430](https://github.com/ckeditor/ckeditor5/issues/6430). ([ba852e3](https://github.com/ckeditor/ckeditor5-table/commit/ba852e3))
22
- * Added missing tooltips for the table and table cell properties buttons. Closes [ckeditor/ckeditor5#6497](https://github.com/ckeditor/ckeditor5/issues/6497). ([a031c9b](https://github.com/ckeditor/ckeditor5-table/commit/a031c9b))
23
- * Improved spanned cells handling for row and column removals. Closes [ckeditor/ckeditor5#6406](https://github.com/ckeditor/ckeditor5/issues/6406). ([725a861](https://github.com/ckeditor/ckeditor5-table/commit/725a861))
24
- * Inserting a table column at the first column or row spanned cell should work properly. Closes [ckeditor/ckeditor5#5882](https://github.com/ckeditor/ckeditor5/issues/5882). ([d239f69](https://github.com/ckeditor/ckeditor5-table/commit/d239f69))
25
- * The remove table row command no longer breaks a table heading downcast conversion. Closes [ckeditor/ckeditor5#6391](https://github.com/ckeditor/ckeditor5/issues/6391). ([afdbc2d](https://github.com/ckeditor/ckeditor5-table/commit/afdbc2d))
26
- * Removing rows in complex tables should properly move cells from the removed rows. Closes [ckeditor/ckeditor5#6502](https://github.com/ckeditor/ckeditor5/issues/6502). ([c8d8d32](https://github.com/ckeditor/ckeditor5-table/commit/c8d8d32))
27
- * Removing the last header row no longer breaks a table in the editing view. Closes [ckeditor/ckeditor5#6437](https://github.com/ckeditor/ckeditor5/issues/6437). ([5e1fd28](https://github.com/ckeditor/ckeditor5-table/commit/5e1fd28))
28
- * Resolved various issues with handling bigger tables, caused by issues with sorting indexes. Closes [ckeditor/ckeditor5#6569](https://github.com/ckeditor/ckeditor5/issues/6569). Closes [ckeditor/ckeditor5#6544](https://github.com/ckeditor/ckeditor5/issues/6544). ([99242fb](https://github.com/ckeditor/ckeditor5-table/commit/99242fb))
29
- * The table border should be present in the content styles (should use `.ck-content`). Closes [ckeditor/ckeditor5#6314](https://github.com/ckeditor/ckeditor5/issues/6314). ([0e0e6fe](https://github.com/ckeditor/ckeditor5-table/commit/0e0e6fe))
30
- * Table feature should specify the header text alignment styles for different language directions in the content styles sheet. Closes [ckeditor/ckeditor5#6638](https://github.com/ckeditor/ckeditor5/issues/6638). ([0e25d38](https://github.com/ckeditor/ckeditor5-table/commit/0e25d38))
31
-
32
- Until now, the text alignment was inherited from `EditorUI` styles but they are unavailable outside the editor when the content lives in a `.ck-content` container.
33
- * The horizontal alignment of the table cell content should work properly with right–to–left languages. Closes [ckeditor/ckeditor5#6371](https://github.com/ckeditor/ckeditor5/issues/6371). ([b6ca42e](https://github.com/ckeditor/ckeditor5-table/commit/b6ca42e))
34
-
35
- ### Other changes
36
-
37
- * Replaced `LabeledInputView` with `LabeledFieldView`. See [ckeditor/ckeditor5#6110](https://github.com/ckeditor/ckeditor5/issues/6110). ([b905aa5](https://github.com/ckeditor/ckeditor5-table/commit/b905aa5))
38
- * Replaced custom `FormHeaderView` with the new reusable `FormHeaderView` UI. See [ckeditor/ckeditor5#6109](https://github.com/ckeditor/ckeditor5/issues/6109). ([f5b2faf](https://github.com/ckeditor/ckeditor5-table/commit/f5b2faf))
39
- * Reduced the table insertion grid rendering time. Closes [ckeditor/ckeditor5#6341](https://github.com/ckeditor/ckeditor5/issues/6341). ([fd1d5da](https://github.com/ckeditor/ckeditor5-table/commit/fd1d5da))
40
- * Removed temporary fixes for `model-selection-range-intersects` errors. See [ckeditor/ckeditor5#6501](https://github.com/ckeditor/ckeditor5/issues/6501). See [ckeditor/ckeditor5#6382](https://github.com/ckeditor/ckeditor5/issues/6382). ([01d23cb](https://github.com/ckeditor/ckeditor5-table/commit/01d23cb))
41
- * The position of table cell properties balloon should be in relation to multiple selected cells. Closes [ckeditor/ckeditor5#6357](https://github.com/ckeditor/ckeditor5/issues/6357). ([e2dff56](https://github.com/ckeditor/ckeditor5-table/commit/e2dff56))
42
- * Updated translations. ([1e691d9](https://github.com/ckeditor/ckeditor5-table/commit/1e691d9)) ([5e98a03](https://github.com/ckeditor/ckeditor5-table/commit/5e98a03))
43
-
44
-
45
- ## [18.0.0](https://github.com/ckeditor/ckeditor5-table/compare/v17.0.0...v18.0.0) (2020-03-19)
46
-
47
- ### Features
48
-
49
- * Introduced the `TableSelection` plugin. Closes [ckeditor/ckeditor5#3202](https://github.com/ckeditor/ckeditor5/issues/3202). ([281dba5](https://github.com/ckeditor/ckeditor5-table/commit/281dba5))
50
- * Introduced RTL support to the table and table cell property forms. Closes [ckeditor/ckeditor5#6107](https://github.com/ckeditor/ckeditor5/issues/6107). ([3a92fc4](https://github.com/ckeditor/ckeditor5-table/commit/3a92fc4))
51
-
52
- ### Bug fixes
53
-
54
- * Merge left and right commands should be always enabled if the execution does not cross the heading column boundary. Closes [ckeditor/ckeditor5#6368](https://github.com/ckeditor/ckeditor5/issues/6368). ([c088814](https://github.com/ckeditor/ckeditor5-table/commit/c088814))
55
- * Table border styles conversion handler should not throw when it approaches a nested table. Closes [ckeditor/ckeditor5#6177](https://github.com/ckeditor/ckeditor5/issues/6177). ([a754898](https://github.com/ckeditor/ckeditor5-table/commit/a754898))
56
-
57
- ### Other changes
58
-
59
- * The default background color for the table headers should blend with the background of the entire table instead of overriding it. Closes [ckeditor/ckeditor5#6228](https://github.com/ckeditor/ckeditor5/issues/6228). ([b53032d](https://github.com/ckeditor/ckeditor5-table/commit/b53032d))
60
- * Updated translations. ([70b8af5](https://github.com/ckeditor/ckeditor5-table/commit/70b8af5))
61
-
62
-
63
- ## [17.0.0](https://github.com/ckeditor/ckeditor5-table/compare/v16.0.0...v17.0.0) (2020-02-19)
64
-
65
- ### Features
66
-
67
- * Implemented the table and table cell properties forms. Closes [ckeditor/ckeditor5#3287](https://github.com/ckeditor/ckeditor5/issues/3287).
68
-
69
- ### Bug fixes
70
-
71
- * Fixed a bug with spellchecking or pasting via the context menu into a table cell crashing the editor. Closes [ckeditor/ckeditor5#6062](https://github.com/ckeditor/ckeditor5/issues/6062). ([be0d759](https://github.com/ckeditor/ckeditor5-table/commit/be0d759))
72
-
73
- ### Other changes
74
-
75
- * Implemented lazy loading for the table dropdown. This will reduce editor initialization time. Closes [ckeditor/ckeditor5#6193](https://github.com/ckeditor/ckeditor5/issues/6193). ([5daa487](https://github.com/ckeditor/ckeditor5-table/commit/5daa487))
76
-
77
-
78
- ## [16.0.0](https://github.com/ckeditor/ckeditor5-table/compare/v15.0.0...v16.0.0) (2019-12-04)
79
-
80
- ### Bug fixes
81
-
82
- * The `MergeCellCommand` will not merge column header cells with body cells. ([c9c6954](https://github.com/ckeditor/ckeditor5-table/commit/c9c6954))
83
-
84
- ### Other changes
85
-
86
- * Updated translations. ([7b2df5c](https://github.com/ckeditor/ckeditor5-table/commit/7b2df5c))
87
-
88
-
89
- ## [15.0.0](https://github.com/ckeditor/ckeditor5-table/compare/v14.0.0...v15.0.0) (2019-10-23)
90
-
91
- ### Bug fixes
92
-
93
- * Column insertion and cell merging buttons should work correctly when the editor content is right–to–left (RTL). Closes [#200](https://github.com/ckeditor/ckeditor5-table/issues/200). ([ac7be7b](https://github.com/ckeditor/ckeditor5-table/commit/ac7be7b))
94
-
95
- ### Other changes
96
-
97
- * Added `pluginName` to editing plugin. ([1f76c1e](https://github.com/ckeditor/ckeditor5-table/commit/1f76c1e))
98
- * Updated translations. ([ba00c09](https://github.com/ckeditor/ckeditor5-table/commit/ba00c09)) ([b1ff792](https://github.com/ckeditor/ckeditor5-table/commit/b1ff792))
99
-
100
-
101
- ## [14.0.0](https://github.com/ckeditor/ckeditor5-table/compare/v13.0.2...v14.0.0) (2019-08-26)
102
-
103
- ### Features
104
-
105
- * `TableWalker` will now return `cell` value also for spanned cells when traversing a table with `includeSpanned` option set to `true`. Additionally, `isSpanned` property was introduced in returned values. ([07e8736](https://github.com/ckeditor/ckeditor5-table/commit/07e8736))
106
-
107
- ### Bug fixes
108
-
109
- * Table cell post-fixer will refresh a cell only when it is needed. Closes [#209](https://github.com/ckeditor/ckeditor5-table/issues/209). ([b29a042](https://github.com/ckeditor/ckeditor5-table/commit/b29a042))
110
-
111
- ### Other changes
112
-
113
- * Adjusted `InsertTableView` for better compatibility with right–to–left (RTL) languages. See [ckeditor/ckeditor5#1151](https://github.com/ckeditor/ckeditor5/issues/1151). ([524586b](https://github.com/ckeditor/ckeditor5-table/commit/524586b))
114
- * The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See [ckeditor/ckeditor5#1988](https://github.com/ckeditor/ckeditor5/issues/1988). ([3d35af2](https://github.com/ckeditor/ckeditor5-table/commit/3d35af2))
115
- * The table widget toolbar should have a proper `aria-label` attribute (see [ckeditor/ckeditor5#1404](https://github.com/ckeditor/ckeditor5/issues/1404)). ([b47a94f](https://github.com/ckeditor/ckeditor5-table/commit/b47a94f))
116
- * Updated translations. ([2ddc9f4](https://github.com/ckeditor/ckeditor5-table/commit/2ddc9f4))
117
-
118
- ### BREAKING CHANGES
119
-
120
- * `TableWalker` will not return `undefined` as `cell` value for spanned cells anymore. Use `isSpanned` instead.
121
-
122
-
123
- ## [13.0.2](https://github.com/ckeditor/ckeditor5-table/compare/v13.0.1...v13.0.2) (2019-07-10)
124
-
125
- Internal changes only (updated dependencies, documentation, etc.).
126
-
127
-
128
- ## [13.0.1](https://github.com/ckeditor/ckeditor5-table/compare/v13.0.0...v13.0.1) (2019-07-04)
129
-
130
- Internal changes only (updated dependencies, documentation, etc.).
131
-
132
-
133
- ## [13.0.0](https://github.com/ckeditor/ckeditor5-table/compare/v12.0.1...v13.0.0) (2019-06-05)
134
-
135
- ### Bug fixes
136
-
137
- * Table cell view post-fixer should not fix valid view selection. Closes [ckeditor/ckeditor5#1554](https://github.com/ckeditor/ckeditor5/issues/1554). ([fa46cdc](https://github.com/ckeditor/ckeditor5-table/commit/fa46cdc))
138
- * Table cell view post-fixer will not crash if an element inside a cell got attribute and was removed at the same time. Closes [#191](https://github.com/ckeditor/ckeditor5-table/issues/191). ([900c178](https://github.com/ckeditor/ckeditor5-table/commit/900c178))
139
- * Table rows will not be added on tab key press if the associated command is disabled. Closes [#185](https://github.com/ckeditor/ckeditor5-table/issues/185). ([00848a8](https://github.com/ckeditor/ckeditor5-table/commit/00848a8))
140
-
141
- ### Other changes
142
-
143
- * Removed deprecated `config.table.toolbar` configuration option. Closes [#167](https://github.com/ckeditor/ckeditor5-table/issues/167). ([5d024ce](https://github.com/ckeditor/ckeditor5-table/commit/5d024ce))
144
- * Updated translations. ([60ccc61](https://github.com/ckeditor/ckeditor5-table/commit/60ccc61))
145
-
146
- ### BREAKING CHANGES
147
-
148
- * `config.table.toolbar` is now removed from code. Use `config.table.contentToolbar` instead.
149
-
150
-
151
- ## [12.0.1](https://github.com/ckeditor/ckeditor5-table/compare/v12.0.0...v12.0.1) (2019-04-10)
152
-
153
- ### Bug fixes
154
-
155
- * Single paragraphs with attributes inside `<tableCell>` will be properly converted in the data pipeline. Closes [ckeditor/ckeditor5#1620](https://github.com/ckeditor/ckeditor5/issues/1620). ([67ec89f](https://github.com/ckeditor/ckeditor5-table/commit/67ec89f))
156
-
157
- ### Other changes
158
-
159
- * Optimized icons. ([c042369](https://github.com/ckeditor/ckeditor5-table/commit/c042369))
160
- * Updated translations. ([cd204c3](https://github.com/ckeditor/ckeditor5-table/commit/cd204c3))
161
-
162
-
163
- ## [12.0.0](https://github.com/ckeditor/ckeditor5-table/compare/v11.0.1...v12.0.0) (2019-02-28)
164
-
165
- ### Features
166
-
167
- * Enabled media embeds in table cells. Closes [#161](https://github.com/ckeditor/ckeditor5-table/issues/161). ([9ace3ba](https://github.com/ckeditor/ckeditor5-table/commit/9ace3ba))
168
- * Enabled images in table cells. Closes [#99](https://github.com/ckeditor/ckeditor5-table/issues/99). ([39c09e6](https://github.com/ckeditor/ckeditor5-table/commit/39c09e6))
169
-
170
- ### Bug fixes
171
-
172
- * Autoparagraph text nodes in table cells. Closes [#134](https://github.com/ckeditor/ckeditor5-table/issues/134). ([5863307](https://github.com/ckeditor/ckeditor5-table/commit/5863307))
173
- * Make `<table>` a block element in the schema. Closes [#126](https://github.com/ckeditor/ckeditor5-table/issues/126). ([85719af](https://github.com/ckeditor/ckeditor5-table/commit/85719af))
174
-
175
- ### Other changes
176
-
177
- * Aligned to the new `WidgetToolbarRepository` API. Replaced the `isTableWidgetSelected()` utility with `getSelectedTableWidget()`. Replaced `isTableContentSelected()` with `getTableWidgetAncestor()` (see [ckeditor/ckeditor5-widget#60](https://github.com/ckeditor/ckeditor5-widget/issues/60)). ([e3a5c09](https://github.com/ckeditor/ckeditor5-table/commit/e3a5c09))
178
- * Use `TableUtils` by a string when using `editor.plugins.get()`. ([ce09c39](https://github.com/ckeditor/ckeditor5-table/commit/ce09c39))
179
- * Updated translations. ([370d494](https://github.com/ckeditor/ckeditor5-table/commit/370d494)) ([5a47b95](https://github.com/ckeditor/ckeditor5-table/commit/5a47b95)) ([5e20d54](https://github.com/ckeditor/ckeditor5-table/commit/5e20d54))
180
-
181
- ### BREAKING CHANGES
182
-
183
- * Upgraded minimal versions of Node to `8.0.0` and npm to `5.7.1`. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([612ea3c](https://github.com/ckeditor/ckeditor5-cloud-services/commit/612ea3c))
184
- * The `isTableWidgetSelected()` utility has been replaced by `getSelectedTableWidget()` and returns an editing `View` element instead of a `Boolean`.
185
- * The `isTableContentSelected()` utility has been replaced by `getTableWidgetAncestor()` and returns an editing `View` element instead of a `Boolean`.
186
-
187
-
188
- ## [11.0.1](https://github.com/ckeditor/ckeditor5-table/compare/v11.0.0...v11.0.1) (2018-12-05)
189
-
190
- ### Bug fixes
191
-
192
- * Skip text nodes between `<tr>` elements during table upcast. Closes [#145](https://github.com/ckeditor/ckeditor5-table/issues/145). ([2ecf448](https://github.com/ckeditor/ckeditor5-table/commit/2ecf448))
193
-
194
- ### Other changes
195
-
196
- * Changed labels and command names for the insert column functionality for better UX and translatability. Closes [#138](https://github.com/ckeditor/ckeditor5-table/issues/138). ([fd2221f](https://github.com/ckeditor/ckeditor5-table/commit/fd2221f))
197
- * Improved SVG icons size. See [ckeditor/ckeditor5-theme-lark#206](https://github.com/ckeditor/ckeditor5-theme-lark/issues/206). ([23d6803](https://github.com/ckeditor/ckeditor5-table/commit/23d6803))
198
- * Updated translations. ([47475b2](https://github.com/ckeditor/ckeditor5-table/commit/47475b2)) ([5d39d35](https://github.com/ckeditor/ckeditor5-table/commit/5d39d35)) ([7ce6d5b](https://github.com/ckeditor/ckeditor5-table/commit/7ce6d5b)) ([268f607](https://github.com/ckeditor/ckeditor5-table/commit/268f607))
199
-
200
-
201
- ## [11.0.0](https://github.com/ckeditor/ckeditor5-table/compare/v10.1.0...v11.0.0) (2018-10-08)
202
-
203
- ### Features
204
-
205
- * Implemented the table post–fixer which bulletproofs the feature in various complex use–cases (e.g. pasting and real-time collaborative editing). Closes [#13](https://github.com/ckeditor/ckeditor5-table/issues/13). ([01f9a3b](https://github.com/ckeditor/ckeditor5-table/commit/01f9a3b))
206
- * Introduced the toolbar for the table widget (previously it was available only for single cells). Changed the toolbar configuration option from `table.toolbar` to `table.contentToolbar`. Closes [#113](https://github.com/ckeditor/ckeditor5-table/issues/113). Closes [#106](https://github.com/ckeditor/ckeditor5-table/issues/106). ([9f9486d](https://github.com/ckeditor/ckeditor5-table/commit/9f9486d))
207
-
208
- Other: `config.table.toolbar` is marked as depracted. Use `config.table.contentToolbar` instead.
209
- * Introduced a support for block content inside tables. Closes [#56](https://github.com/ckeditor/ckeditor5-table/issues/56). ([cdf718e](https://github.com/ckeditor/ckeditor5-table/commit/cdf718e))
210
-
211
- ### Bug fixes
212
-
213
- * A table cell should always have a `<paragraph>` in the model. Closes [#125](https://github.com/ckeditor/ckeditor5-table/issues/125). ([1eb5d6d](https://github.com/ckeditor/ckeditor5-table/commit/1eb5d6d))
214
- * Downcast converter for table attributes should work with not converted child elements. Closes [#92](https://github.com/ckeditor/ckeditor5-table/issues/92). ([a3ea18d](https://github.com/ckeditor/ckeditor5-table/commit/a3ea18d))
215
- * Merging down rowspanned cell from the head with a cell in the body is now disabled. Closes [#86](https://github.com/ckeditor/ckeditor5-table/issues/86). ([cb77e38](https://github.com/ckeditor/ckeditor5-table/commit/cb77e38))
216
- * The upcast conversion will now properly parse inline content in table cell into single paragraph. Closes [ckeditor/ckeditor5#1246](https://github.com/ckeditor/ckeditor5/issues/1246). ([ea1e16d](https://github.com/ckeditor/ckeditor5-table/commit/ea1e16d))
217
- * Toggling headers should always include the column or row the selection is anchored to. Closes [#34](https://github.com/ckeditor/ckeditor5-table/issues/34). ([bce6766](https://github.com/ckeditor/ckeditor5-table/commit/bce6766))
218
-
219
- ### Other changes
220
-
221
- * Aligned `TableToolbar` to the widget toolbar repository. Closes [#107](https://github.com/ckeditor/ckeditor5-table/issues/107). ([e276e66](https://github.com/ckeditor/ckeditor5-table/commit/e276e66))
222
- * Media should not be allowed inside table cells for now. Closes [#124](https://github.com/ckeditor/ckeditor5-table/issues/124). ([2f2fe4a](https://github.com/ckeditor/ckeditor5-table/commit/2f2fe4a))
223
- * Table feature should insert table the same way as other widget features do. Closes [#27](https://github.com/ckeditor/ckeditor5-table/issues/27). ([77d96a4](https://github.com/ckeditor/ckeditor5-table/commit/77d96a4))
224
- * The table cell view post-fixer should use changed elements from the view to make fixes. Closes [#130](https://github.com/ckeditor/ckeditor5-table/issues/130). ([efc53c9](https://github.com/ckeditor/ckeditor5-table/commit/efc53c9))
225
- * Updated the table icon which used to feel bulky with a lighter design. Closes [#117](https://github.com/ckeditor/ckeditor5-table/issues/117). ([cd6f5ff](https://github.com/ckeditor/ckeditor5-table/commit/cd6f5ff))
226
- * Updated translations. ([de47767](https://github.com/ckeditor/ckeditor5-table/commit/de47767))
227
-
228
- ### BREAKING CHANGES
229
-
230
- * The `config.table.toolbar` was renamed to `config.table.contentToolbar`.
231
- * The `injectTablePostFixer()` function from `table/converters/table-post-fixer` is now `injectTableLayoutPostFixer()`and is moved to `table/converters/table-layout-post-fixer` module.
232
- * The `TableUtils#createTable()` method now accepts model `Writer` instance instead of `Position`. The method no longer inserts created table to the model - use returned value instead.
233
- * Removed `table/commands/utils~getParentTable()` method. Use `table/commands/utils~findAncestor()` instead.
234
-
235
-
236
- ## [10.1.0](https://github.com/ckeditor/ckeditor5-table/compare/v10.0.0...v10.1.0) (2018-07-18)
237
-
238
- ### Features
239
-
240
- * Implemented the table selection handle (see [ckeditor/ckeditor5-widget#40](https://github.com/ckeditor/ckeditor5-widget/issues/40)). ([47295bd](https://github.com/ckeditor/ckeditor5-table/commit/47295bd))
241
- * Used the switch button to toggle table headers (see [ckeditor/ckeditor5-ui#402](https://github.com/ckeditor/ckeditor5-ui/issues/402)). ([f3b7d0b](https://github.com/ckeditor/ckeditor5-table/commit/f3b7d0b))
242
-
243
- Also:
244
- * Aligned the `TableUI` to the new API of the `addListToDropdown()` helper,
245
- * Updated the tests to consider the `ListItemView` as simply a container for buttons.
246
-
247
- ### Bug fixes
248
-
249
- * Merge cell horizontally should not be possible on overlapped cells. Closes [#68](https://github.com/ckeditor/ckeditor5-table/issues/68). ([72b6315](https://github.com/ckeditor/ckeditor5-table/commit/72b6315))
250
- * The `MergeCellCommand` should check if merging cells results in an empty row and remove it. Closes [#16](https://github.com/ckeditor/ckeditor5-table/issues/16). ([a01252a](https://github.com/ckeditor/ckeditor5-table/commit/a01252a))
251
-
252
- ### Other changes
253
-
254
- * Updated translations. ([1730b88](https://github.com/ckeditor/ckeditor5-table/commit/1730b88))
255
-
256
-
257
- ## 10.0.0 (2018-06-21)
258
-
259
- ### Features
260
-
261
- * Introduced the table feature. See [#1](https://github.com/ckeditor/ckeditor5-table/issues/1) and [#3](https://github.com/ckeditor/ckeditor5-table/issues/3).