8
0
فهرست منبع

Code refactoring.

Aleksander Nowodzinski 5 سال پیش
والد
کامیت
e86069f615
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      packages/ckeditor5-table/src/tableproperties/ui/tablepropertiesview.js

+ 2 - 0
packages/ckeditor5-table/src/tableproperties/ui/tablepropertiesview.js

@@ -433,6 +433,8 @@ export default class TablePropertiesView extends View {
 			this.borderStyle = evt.source._borderStyleValue;
 			this.borderStyle = evt.source._borderStyleValue;
 		} );
 		} );
 
 
+		borderStyleDropdown.bind( 'isEmpty' ).to( this, 'borderStyle', value => !value );
+
 		addListToDropdown( borderStyleDropdown.fieldView, getBorderStyleDefinitions( this ) );
 		addListToDropdown( borderStyleDropdown.fieldView, getBorderStyleDefinitions( this ) );
 
 
 		// -- Width ---------------------------------------------------
 		// -- Width ---------------------------------------------------