Selaa lähdekoodia

Extract UI to own method.

Maciej Gołaszewski 6 vuotta sitten
vanhempi
commit
627a1d2156
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 5 0
      packages/ckeditor5-table/src/tablestyle.js

+ 5 - 0
packages/ckeditor5-table/src/tablestyle.js

@@ -73,6 +73,11 @@ export default class TableStyle extends Plugin {
 		setupConversion( conversion, 'vertical-align', 'tableCell' );
 		setupConversion( conversion, 'width', 'tableCell' );
 
+		this._setupUI( editor );
+	}
+
+	// TODO: remove me
+	_setupUI( editor ) {
 		editor.ui.componentFactory.add( 'borderWidth', locale => {
 			const button = new ButtonView( locale );