diff --git a/packages/ckeditor5-table/src/tablecellproperties/ui/tablecellpropertiesview.js b/packages/ckeditor5-table/src/tablecellproperties/ui/tablecellpropertiesview.js index 303a983e746..e3922d60f81 100644 --- a/packages/ckeditor5-table/src/tablecellproperties/ui/tablecellpropertiesview.js +++ b/packages/ckeditor5-table/src/tablecellproperties/ui/tablecellpropertiesview.js @@ -409,8 +409,10 @@ export default class TableCellPropertiesView extends View { [ this.borderStyleDropdown, this.borderColorInput, + this.borderColorInput.fieldView.dropdownView.buttonView, this.borderWidthInput, this.backgroundInput, + this.backgroundInput.fieldView.dropdownView.buttonView, this.widthInput, this.heightInput, this.paddingInput, diff --git a/packages/ckeditor5-table/src/tableproperties/ui/tablepropertiesview.js b/packages/ckeditor5-table/src/tableproperties/ui/tablepropertiesview.js index 3b22c120297..95b64d179cd 100644 --- a/packages/ckeditor5-table/src/tableproperties/ui/tablepropertiesview.js +++ b/packages/ckeditor5-table/src/tableproperties/ui/tablepropertiesview.js @@ -360,8 +360,10 @@ export default class TablePropertiesView extends View { [ this.borderStyleDropdown, this.borderColorInput, + this.borderColorInput.fieldView.dropdownView.buttonView, this.borderWidthInput, this.backgroundInput, + this.backgroundInput.fieldView.dropdownView.buttonView, this.widthInput, this.heightInput, this.alignmentToolbar, diff --git a/packages/ckeditor5-table/src/ui/colorinputview.js b/packages/ckeditor5-table/src/ui/colorinputview.js index 7484d944c1f..60897a39cb3 100644 --- a/packages/ckeditor5-table/src/ui/colorinputview.js +++ b/packages/ckeditor5-table/src/ui/colorinputview.js @@ -7,8 +7,9 @@ * @module table/ui/colorinputview */ -import { View, InputTextView, ButtonView, createDropdown, ColorGridView } from 'ckeditor5/src/ui'; +import { View, InputTextView, ButtonView, createDropdown, ColorGridView, FocusCycler, ViewCollection } from 'ckeditor5/src/ui'; import { icons } from 'ckeditor5/src/core'; +import { FocusTracker, KeystrokeHandler } from 'ckeditor5/src/utils'; import '../../theme/colorinput.css'; @@ -34,8 +35,6 @@ export default class ColorInputView extends View { constructor( locale, options ) { super( locale ); - const bind = this.bindTemplate; - /** * The value of the input. * @@ -45,14 +44,6 @@ export default class ColorInputView extends View { */ this.set( 'value', '' ); - /** - * The `id` attribute of the input (i.e. to pair with the `