Explorar el Código

Extract UI to own method.

Maciej Gołaszewski hace 6 años
padre
commit
627a1d2156
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  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 );