Explorar el Código

Docs: Added some comments for the changes.

Aleksander Nowodzinski hace 6 años
padre
commit
75860b76c1

+ 2 - 0
packages/ckeditor5-table/src/tablecellproperties/ui/tablecellpropertiesview.js

@@ -494,6 +494,8 @@ export default class TableCellPropertiesView extends View {
 			this.borderColor = borderColorInput.view.element.value;
 		} );
 
+		// Reset the border color and width fields when style is "none".
+		// https://github.com/ckeditor/ckeditor5/issues/6227
 		this.on( 'change:borderStyle', ( evt, name, value ) => {
 			if ( value === 'none' ) {
 				this.borderColor = '';

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

@@ -440,6 +440,8 @@ export default class TablePropertiesView extends View {
 			this.borderColor = borderColorInput.view.element.value;
 		} );
 
+		// Reset the border color and width fields when style is "none".
+		// https://github.com/ckeditor/ckeditor5/issues/6227
 		this.on( 'change:borderStyle', ( evt, name, value ) => {
 			if ( value === 'none' ) {
 				this.borderColor = '';