瀏覽代碼

Update src/converters/table-cell-refresh-post-fixer.js

Co-Authored-By: Szymon Cofalik <s.cofalik@cksource.com>
Maciej 6 年之前
父節點
當前提交
9a9c3f5431
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/ckeditor5-table/src/converters/table-cell-refresh-post-fixer.js

+ 1 - 1
packages/ckeditor5-table/src/converters/table-cell-refresh-post-fixer.js

@@ -52,7 +52,7 @@ function tableCellRefreshPostFixer( model ) {
 // @param {module:engine/model/element~Element} tableCell Table cell to check.
 // @param {module:engine/model/element~Element} tableCell Table cell to check.
 // @param {String} type Type of change.
 // @param {String} type Type of change.
 function checkRefresh( tableCell, type ) {
 function checkRefresh( tableCell, type ) {
-	// If children of a table cell were removed - refresh it.
+	// If all children of a table cell were removed - refresh it.
 	if ( !tableCell.childCount ) {
 	if ( !tableCell.childCount ) {
 		return true;
 		return true;
 	}
 	}